From 2a27a92512a33feb7cc276069792876e7ec032c0 Mon Sep 17 00:00:00 2001 From: bernds Date: Thu, 11 Sep 2014 09:07:23 +0000 Subject: [PATCH] Fix declarations in some tests. * gcc.dg/compat/struct-by-value-13_main.c (struct_by_value_13_x): Fix declaration. * gcc.dg/compat/struct-by-value-16a_main.c (struct_by_value_16a_x): Fix declaration. * gcc.dg/compat/struct-by-value-17a_main.c (struct_by_value_17a_x): Fix declaration. * gcc.dg/compat/struct-by-value-18a_main.c (struct_by_value_18a_x): Fix declaration. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215158 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/ChangeLog | 11 +++++++++ .../gcc.dg/compat/struct-by-value-13_main.c | 2 +- .../gcc.dg/compat/struct-by-value-16a_main.c | 28 +++++++++++----------- .../gcc.dg/compat/struct-by-value-17a_main.c | 2 +- .../gcc.dg/compat/struct-by-value-18a_main.c | 28 +++++++++++----------- 5 files changed, 41 insertions(+), 30 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1432e77f73f..d83fee53dd2 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,14 @@ +2014-09-11 Bernd Schmidt + + * gcc.dg/compat/struct-by-value-13_main.c (struct_by_value_13_x): + Fix declaration. + * gcc.dg/compat/struct-by-value-16a_main.c (struct_by_value_16a_x): + Fix declaration. + * gcc.dg/compat/struct-by-value-17a_main.c (struct_by_value_17a_x): + Fix declaration. + * gcc.dg/compat/struct-by-value-18a_main.c (struct_by_value_18a_x): + Fix declaration. + 2014-09-10 Jan Hubicka PR tree-optimization/63186 diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-13_main.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-13_main.c index b853bb88eee..41f492767e9 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-13_main.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-13_main.c @@ -2,7 +2,7 @@ variable-length argument lists. All struct members are type _Complex int. */ -extern void struct_by_value_l3_x (void); +extern void struct_by_value_13_x (void); extern void exit (int); int fails; diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-16a_main.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-16a_main.c index 6a71d15b8ec..1520e945847 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-16a_main.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-16a_main.c @@ -1,14 +1,14 @@ -/* Test structures passed by value, including to a function with a - variable-length argument lists. All struct members are of type - _Complex float. */ - -extern void struct_by_value_16_x (void); -extern void exit (int); -int fails; - -int -main () -{ - struct_by_value_16a_x (); - exit (0); -} +/* Test structures passed by value, including to a function with a + variable-length argument lists. All struct members are of type + _Complex float. */ + +extern void struct_by_value_16a_x (void); +extern void exit (int); +int fails; + +int +main () +{ + struct_by_value_16a_x (); + exit (0); +} diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-17a_main.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-17a_main.c index 1db00215f2c..f5baefc2696 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-17a_main.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-17a_main.c @@ -2,7 +2,7 @@ variable-length argument lists. All struct members are of type _Complex double. */ -extern void struct_by_value_17_x (void); +extern void struct_by_value_17a_x (void); extern void exit (int); int fails; diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-18a_main.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-18a_main.c index 5b9dfd983b4..ce7edfbd34c 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-18a_main.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-18a_main.c @@ -1,14 +1,14 @@ -/* Test structures passed by value, including to a function with a - variable-length argument lists. All struct members are of type - _Complex long double. */ - -extern void struct_by_value_18_x (void); -extern void exit (int); -int fails; - -int -main () -{ - struct_by_value_18a_x (); - exit (0); -} +/* Test structures passed by value, including to a function with a + variable-length argument lists. All struct members are of type + _Complex long double. */ + +extern void struct_by_value_18a_x (void); +extern void exit (int); +int fails; + +int +main () +{ + struct_by_value_18a_x (); + exit (0); +} -- 2.11.4.GIT