gimple va_arg for arm
Daniel Jacobowitz
drow@false.org
Fri Jul 9 19:12:00 GMT 2004
On Fri, Jul 09, 2004 at 05:55:42PM +0100, Richard Earnshaw wrote:
> 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.
I believe Alexandre had a patch, or at least an approach, for this.
--
Daniel Jacobowitz
More information about the Gcc-patches
mailing list