From 259acf43041f25c864d0c485a421e27f8c1116cf Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 16 Oct 2015 19:31:20 +0000 Subject: [PATCH] Properly initialize u5 * gcc.target/i386/iamcu/test_passing_unions.c (main): Properly initialize u5. From-SVN: r228921 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/i386/iamcu/test_passing_unions.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8f71c0b1456..19bed5aabe7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-10-16 H.J. Lu + + * gcc.target/i386/iamcu/test_passing_unions.c (main): Properly + initialize u5. + 2015-10-16 Eric Botcazou PR middle-end/67966 diff --git a/gcc/testsuite/gcc.target/i386/iamcu/test_passing_unions.c b/gcc/testsuite/gcc.target/i386/iamcu/test_passing_unions.c index 534fc8505ed..4990ddb15b0 100644 --- a/gcc/testsuite/gcc.target/i386/iamcu/test_passing_unions.c +++ b/gcc/testsuite/gcc.target/i386/iamcu/test_passing_unions.c @@ -123,7 +123,7 @@ main (void) struct long_struct ls; #endif /* CHECK_LARGER_UNION_PASSING */ union un4 u4[8]; - union un5 u5 = { { 48.394, 39.3, -397.9, 3484.9 } }; + union un5 u5 = { 48.394 }; int i; union un6 u6; -- 2.30.2