From: Bernd Schmidt Date: Thu, 11 Sep 2014 09:07:23 +0000 (+0000) Subject: Fix declarations in some tests. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=21a16932df04c0745673815c29cd8fb52988f671;p=gcc.git 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. From-SVN: r215158 --- 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); +}