inline asm: How to push PIC reg before seven input operands get loaded?

Andrew Haley aph@redhat.com
Sat Mar 24 12:23:00 GMT 2007


lynx.abraxas@freenet.de writes:
 > 
 > I got a bit further with my problem. Now I'm stuck on how to save
 > the register used when -fPIC is enabled to the stack before my
 > seven input operands, needing all registers, get loaded. Is that
 > somehow possible? I couldn't find any examples on the net. It seems
 > not to be necessary in the original code for MSC.

I doubt very much thath is possible.

 > Also I wonder which -f option that comes with -O2 makes gcc stop reporting:
 > error: can't find a register in class 'LEGACY_REGS' while reloading 'asm'

I guess this is a joke.

Andrew.



More information about the Gcc-help mailing list