gimple va_arg for arm

Richard Earnshaw rearnsha@gcc.gnu.org
Fri Jul 9 18:31:00 GMT 2004


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.



More information about the Gcc-patches mailing list