diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2014-03-11 21:35:02 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2014-03-11 21:35:02 +0000 |
commit | f12572682e4b112bb61fe05ec233cb63bb261604 (patch) | |
tree | 522fb7178bd1e83bdba8ab6c8d0264247db8c3a3 /gcc/cselib.c | |
parent | 5af1876c657286423edbf631be14a36ce2dcaeaa (diff) | |
download | gcc-f12572682e4b112bb61fe05ec233cb63bb261604.zip gcc-f12572682e4b112bb61fe05ec233cb63bb261604.tar.gz gcc-f12572682e4b112bb61fe05ec233cb63bb261604.tar.bz2 |
builtins.c (expand_builtin_setjmp_receiver): Use and clobber hard_frame_pointer_rtx.
gcc/
* builtins.c (expand_builtin_setjmp_receiver): Use and clobber
hard_frame_pointer_rtx.
* cse.c (cse_insn): Remove volatile check.
* cselib.c (cselib_process_insn): Likewise.
* dse.c (scan_insn): Likewise.
From-SVN: r208498
Diffstat (limited to 'gcc/cselib.c')
-rw-r--r-- | gcc/cselib.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/cselib.c b/gcc/cselib.c index 4dfc557..26bcbe0 100644 --- a/gcc/cselib.c +++ b/gcc/cselib.c @@ -2645,12 +2645,10 @@ cselib_process_insn (rtx insn) cselib_current_insn = insn; - /* Forget everything at a CODE_LABEL, a volatile insn, or a setjmp. */ + /* Forget everything at a CODE_LABEL or a setjmp. */ if ((LABEL_P (insn) || (CALL_P (insn) - && find_reg_note (insn, REG_SETJMP, NULL)) - || (NONJUMP_INSN_P (insn) - && volatile_insn_p (PATTERN (insn)))) + && find_reg_note (insn, REG_SETJMP, NULL))) && !cselib_preserve_constants) { cselib_reset_table (next_uid); |