This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: gimple va_arg for arm
On Fri, 2004-07-09 at 11:49, Richard Earnshaw wrote:
> I'll run some tests, but it will take a few hours.
Unfortunately my baseline fails to bootstrap :-(
register char * stack_ptr asm ("sp");
void * stack() { return stack_ptr;}
/work/rearnsha/gnu/egcs/gcc/cc1 -O2 x.c
[...]
x.c: In function `stack':
x.c:1: error: register name not specified for 'stack_ptr'
Oddly it only happens at -O2.
R.