Commit 21a16932 by Bernd Schmidt Committed by Bernd Schmidt

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
parent 1138382b
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> 2014-09-10 Jan Hubicka <hubicka@ucw.cz>
PR tree-optimization/63186 PR tree-optimization/63186
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
variable-length argument lists. All struct members are type variable-length argument lists. All struct members are type
_Complex int. */ _Complex int. */
extern void struct_by_value_l3_x (void); extern void struct_by_value_13_x (void);
extern void exit (int); extern void exit (int);
int fails; int fails;
......
/* Test structures passed by value, including to a function with a /* Test structures passed by value, including to a function with a
variable-length argument lists. All struct members are of type variable-length argument lists. All struct members are of type
_Complex float. */ _Complex float. */
extern void struct_by_value_16_x (void); extern void struct_by_value_16a_x (void);
extern void exit (int); extern void exit (int);
int fails; int fails;
int int
main () main ()
{ {
struct_by_value_16a_x (); struct_by_value_16a_x ();
exit (0); exit (0);
} }
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
variable-length argument lists. All struct members are of type variable-length argument lists. All struct members are of type
_Complex double. */ _Complex double. */
extern void struct_by_value_17_x (void); extern void struct_by_value_17a_x (void);
extern void exit (int); extern void exit (int);
int fails; int fails;
......
/* Test structures passed by value, including to a function with a /* Test structures passed by value, including to a function with a
variable-length argument lists. All struct members are of type variable-length argument lists. All struct members are of type
_Complex long double. */ _Complex long double. */
extern void struct_by_value_18_x (void); extern void struct_by_value_18a_x (void);
extern void exit (int); extern void exit (int);
int fails; int fails;
int int
main () main ()
{ {
struct_by_value_18a_x (); struct_by_value_18a_x ();
exit (0); exit (0);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment