summaryrefslogtreecommitdiff
path: root/gcc/cse.c
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-02-14 19:26:29 -0800
committerYamaArashi <shadow962@live.com>2016-02-14 19:26:29 -0800
commit62f1c8373a074a7ffb3d0f7458803bf0b07e626e (patch)
tree32045778cc5a8458ba8ded51dfd79356fbff9d9d /gcc/cse.c
parentabcd805cb77cfcfe0b5f911b784610983750a0b2 (diff)
remove PIC (non-working and disabled)
Diffstat (limited to 'gcc/cse.c')
-rwxr-xr-xgcc/cse.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/cse.c b/gcc/cse.c
index 1fed1cc..9e7dd75 100755
--- a/gcc/cse.c
+++ b/gcc/cse.c
@@ -2398,10 +2398,6 @@ set_nonvarying_address_components (addr, size, pbase, pstart, pend)
start = 0;
end = 0;
- if (flag_pic && GET_CODE (base) == PLUS
- && XEXP (base, 0) == pic_offset_table_rtx)
- base = XEXP (base, 1);
-
/* Registers with nonvarying addresses usually have constant equivalents;
but the frame pointer register is also possible. */
if (GET_CODE (base) == REG
@@ -8634,9 +8630,6 @@ cse_main (f, nregs, after_loop, file)
#if ARG_POINTER_REGNUM != FRAME_POINTER_REGNUM
&& ! (i == ARG_POINTER_REGNUM && fixed_regs[i])
#endif
-#if defined (PIC_OFFSET_TABLE_REGNUM) && !defined (PIC_OFFSET_TABLE_REG_CALL_CLOBBERED)
- && ! (i == PIC_OFFSET_TABLE_REGNUM && flag_pic)
-#endif
)
|| global_regs[i])
SET_HARD_REG_BIT (regs_invalidated_by_call, i);