This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: mips va_arg question


> -----Original Message-----
> From: Mike Stump [mailto:mrs@apple.com] 
> Sent: 12 August 2004 22:33
> To: Dave Korn
> Cc: gcc@gcc.gnu.org; 'Richard Sandiford'; 'Mile Davidovic'
> Subject: Re: mips va_arg question
> 
> On Aug 12, 2004, at 5:45 AM, Dave Korn wrote:
> >   From his own inline asm.  That doesn't even mention sp in 
> the clobber
> > list.
> 
> Hey, I know, let's propose a new extended asm form that 
> allows this to 
> just work... :-)

  Didn't we just do this routine!?  :)  

> 

  However, the workaround is simple enough.  He should compile with
-ffixed-29 to reserve SP for his own use and prevent the compiler from
touching it anywhere throughout the program!




    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]