This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/48417] -ffixed-regs option can't work in mips-elf-gcj compiler
- From: "mikpe at it dot uu.se" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 28 Aug 2011 10:25:41 +0000
- Subject: [Bug java/48417] -ffixed-regs option can't work in mips-elf-gcj compiler
- Auto-submitted: auto-generated
- References: <bug-48417-4@http.gcc.gnu.org/bugzilla/>
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 ?