[Bug target/52125] Problems with LO16 asm operands on MIPS
sje at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 27 21:41:00 GMT 2014
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?
More information about the Gcc-bugs
mailing list