re PR target/8366 ([sparc-sun-solaris2.7] C testsuite failure w/-m64 -fpic -O in...
authorEric Botcazou <ebotcazou@libertysurf.fr>
Fri, 21 Mar 2003 09:46:38 +0000 (10:46 +0100)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 21 Mar 2003 09:46:38 +0000 (09:46 +0000)
commit731458a46df64853cfea759eecdb3f704752dcbd
treeae593015fccda5a4879fbe4577f86ef274187d18
parent30b3f142281e886b688b852374172d3abeb3239a
re PR target/8366 ([sparc-sun-solaris2.7] C testsuite failure w/-m64 -fpic -O in execute/loop-2d.c)

PR optimization/8366
* config/sparc/sparc.h: (SYMBOLIC_CONST): New macro.
(GO_IF_LEGITIMATE_ADDRESS): Use it. Reject the form
PIC+SYMBOLIC_CONST in other modes than Pmode.
(GO_IF_MODE_DEPENDENT_ADDRESS): Use it. Mark
the form PIC+SYMBOLIC_CONST as mode dependent.

Co-Authored-By: Richard Henderson <rth@redhat.com>
From-SVN: r64657
gcc/ChangeLog
gcc/config/sparc/sparc.h