summaryrefslogtreecommitdiff
path: root/gcc/cselib.c
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2014-03-11 21:35:02 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2014-03-11 21:35:02 +0000
commit62dcb5c89136585c8600e09979def634a9e776bd (patch)
tree522fb7178bd1e83bdba8ab6c8d0264247db8c3a3 /gcc/cselib.c
parentc9b99c30900d0bb11f7b4f86cb0fab35d41059a8 (diff)
downloadgcc-62dcb5c89136585c8600e09979def634a9e776bd.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208498 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cselib.c')
-rw-r--r--gcc/cselib.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/cselib.c b/gcc/cselib.c
index 4dfc55778b9..26bcbe07769 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);