diff options
author | Bernd Schmidt <bernds@codesourcery.com> | 2014-09-11 09:07:23 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2014-09-11 09:07:23 +0000 |
commit | 21a16932df04c0745673815c29cd8fb52988f671 (patch) | |
tree | db2e1a0c721aaeb259aa70dcb48222d2ff59f9d0 /gcc | |
parent | 1138382be4d85b63ce398cd088db1a95899e9c22 (diff) | |
download | gcc-21a16932df04c0745673815c29cd8fb52988f671.zip gcc-21a16932df04c0745673815c29cd8fb52988f671.tar.gz gcc-21a16932df04c0745673815c29cd8fb52988f671.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 11 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/compat/struct-by-value-13_main.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/compat/struct-by-value-16a_main.c | 28 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/compat/struct-by-value-17a_main.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/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 1432e77..d83fee5 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,14 @@ +2014-09-11 Bernd Schmidt <bernds@codesourcery.com> + + * 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 <hubicka@ucw.cz> 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 b853bb8..41f4927 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 6a71d15..1520e94 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 1db0021..f5baefc 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 5b9dfd9..ce7edfb 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); +} |