diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2019-11-08 12:30:47 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2019-11-08 12:30:47 +0000 |
commit | 0a83f1a441d7aaadecb368c237b6ee70bd7b91d6 (patch) | |
tree | 8ec541b0850c5eae665b6acdf4fde17f16a30d4d /gcc/tree-ssa-loop-ivopts.c | |
parent | 93ace3af2c44fa019f5141243be198fb2233c7f8 (diff) | |
download | gcc-0a83f1a441d7aaadecb368c237b6ee70bd7b91d6.zip gcc-0a83f1a441d7aaadecb368c237b6ee70bd7b91d6.tar.gz gcc-0a83f1a441d7aaadecb368c237b6ee70bd7b91d6.tar.bz2 |
re PR target/92095 (internal error with -O1 -mcpu=niagara2 -fPIE)
PR target/92095
* config/sparc/sparc-protos.h (output_load_pcrel_sym): Declare.
* config/sparc/sparc.c (sparc_cannot_force_const_mem): Revert latest
change.
(got_helper_needed): New static variable.
(output_load_pcrel_sym): New function.
(get_pc_thunk_name): Remove after inlining...
(load_got_register): ...here. Rework the initialization of the GOT
register and of the GOT helper.
(save_local_or_in_reg_p): Test the REGNO of the GOT register.
(sparc_file_end): Test got_helper_needed to decide whether the GOT
helper must be emitted. Use output_asm_insn instead of fprintf.
(sparc_init_pic_reg): In PIC mode, always initialize the PIC register
if optimization is enabled.
* config/sparc/sparc.md (load_pcrel_sym<P:mode>): Emit the assembly
by calling output_load_pcrel_sym.
From-SVN: r277966
Diffstat (limited to 'gcc/tree-ssa-loop-ivopts.c')
0 files changed, 0 insertions, 0 deletions