URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
/* Test variable sized function argument passing.
|
/* Test variable sized function argument passing.
|
GCC 3.2 and earlier is incompatible with GCC 3.3+ on x86-64,
|
GCC 3.2 and earlier is incompatible with GCC 3.3+ on x86-64,
|
the latter passes variable sized arguments by reference while
|
the latter passes variable sized arguments by reference while
|
the former doesn't.
|
the former doesn't.
|
See http://gcc.gnu.org/ml/gcc-patches/2003-01/msg01830.html */
|
See http://gcc.gnu.org/ml/gcc-patches/2003-01/msg01830.html */
|
|
|
extern void struct_by_value_22_x (void);
|
extern void struct_by_value_22_x (void);
|
extern void exit (int);
|
extern void exit (int);
|
int fails;
|
int fails;
|
|
|
int
|
int
|
main ()
|
main ()
|
{
|
{
|
struct_by_value_22_x ();
|
struct_by_value_22_x ();
|
exit (0);
|
exit (0);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.