[Bug java/48417] -ffixed-regs option can't work in mips-elf-gcj compiler

mikpe at it dot uu.se gcc-bugzilla@gcc.gnu.org
Sun Aug 28 10:26:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48417

--- Comment #7 from Mikael Pettersson <mikpe at it dot uu.se> 2011-08-28 10:25:41 UTC ---
I guess !global_regs[regno] vs !fixed_regs[regno] matters for compilation units
that are compiled with -ffixed-$N but where there is no global register
variable declaration for $N in scope.  Can you construct a C test case which
shows that gcc clobbers a register $N even though the file is compiled with
-ffixed-$N ?



More information about the Java-prs mailing list