re PR target/45233 (FAIL: gcc.c-torture/compile/pr44707.c)
gcc: PR target/45233 * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Only expand a symbol ref. into an access when the entity is defined in the TU. From-SVN: r181315
This commit is contained in:
parent
76d29410c7
commit
220c688a77
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2011-11-12 Iain Sandoe <iains@gcc.gnu.org>
|
||||
|
||||
PR target/45233
|
||||
* config/rs6000/rs6000.c (rs6000_legitimize_reload_address):
|
||||
Only expand a symbol ref. into an access when the entity is defined
|
||||
in the TU.
|
||||
|
||||
2011-11-12 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
PR bootstrap/50822
|
||||
|
|
|
@ -6169,6 +6169,7 @@ rs6000_legitimize_reload_address (rtx x, enum machine_mode mode,
|
|||
#if TARGET_MACHO
|
||||
&& DEFAULT_ABI == ABI_DARWIN
|
||||
&& (flag_pic || MACHO_DYNAMIC_NO_PIC_P)
|
||||
&& machopic_symbol_defined_p (x)
|
||||
#else
|
||||
&& DEFAULT_ABI == ABI_V4
|
||||
&& !flag_pic
|
||||
|
|
Loading…
Add table
Reference in a new issue