This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
__builtin_apply fails on Sparc
- To: bug-gcc at prep dot ai dot mit dot edu, egcs-bugs at cygnus dot com
- Subject: __builtin_apply fails on Sparc
- From: "Marcus G. Daniels" <mgd at santafe dot edu>
- Date: Wed, 12 Aug 1998 13:03:18 -0600
- Reply-To: mgd at santafe dot edu
On sparc-sun-solaris2.6, for both gcc-2.8.1 and egcs-1.0.2, this program
results in an illegal instruction:
void *buf;
int exit_code = 0;
void callme (void)
{
buf = __builtin_apply_args ();
exit_code = 0;
}
main ()
{
callme ();
exit_code = 1;
__builtin_apply (callme, buf, 0);
exit (exit_code);
}