http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52125
Steve Ellcey <sje at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sje at gcc dot gnu.org --- Comment #5 from Steve Ellcey <sje at gcc dot gnu.org> --- The new test (gcc.target/mips/pr52125.c) is passing on my linux target (mips-mti-linux-gnu) but failing for my elf target (mips-mti-elf). The code for the asm statement I get on elf is: #APP # 8 "pr52125.c" 1 %gp_rel(b)($28) %gp_rel(d)($28) # 0 "" 2 #NO_APP It looks like I can fix this by using -mno-gpopt. Is this a reasonable fix or does it break what we want to test?