diff options
author | hp <hp@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-26 03:22:15 +0000 |
---|---|---|
committer | hp <hp@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-26 03:22:15 +0000 |
commit | e12b44a32f4b2d67b5345ab5ca384d92acd4fa9d (patch) | |
tree | b0f93ca1b6e40dba5a22539f21ca724539f77be1 /gcc/cselib.c | |
parent | fcce1e1216d27a11e80fe9f319a976a4f6805ec5 (diff) | |
download | gcc-e12b44a32f4b2d67b5345ab5ca384d92acd4fa9d.tar.gz |
PR middle-end/55030
* builtins.c (expand_builtin_setjmp_receiver): Update comment
regarding purpose of blockage.
* emit-rtl.c [!HAVE_blockage] (gen_blockage): Similarly for
the head comment.
* rtlanal.c (volatile_insn_p): Ditto.
* doc/md.texi (blockage): Update similarly. Change wording to
require one of two forms, rather than implying a wider choice.
* cse.c (cse_insn): Where checking for blocking insns, use
volatile_insn_p instead of manual check for volatile ASM.
* dse.c (scan_insn): Ditto.
* cselib.c (cselib_process_insn): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193802 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cselib.c')
-rw-r--r-- | gcc/cselib.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/cselib.c b/gcc/cselib.c index 28f8d072438..198be8a3149 100644 --- a/gcc/cselib.c +++ b/gcc/cselib.c @@ -2625,13 +2625,12 @@ cselib_process_insn (rtx insn) cselib_current_insn = insn; - /* Forget everything at a CODE_LABEL, a volatile asm, or a setjmp. */ + /* Forget everything at a CODE_LABEL, a volatile insn, or a setjmp. */ if (LABEL_P (insn) || (CALL_P (insn) && find_reg_note (insn, REG_SETJMP, NULL)) || (NONJUMP_INSN_P (insn) - && GET_CODE (PATTERN (insn)) == ASM_OPERANDS - && MEM_VOLATILE_P (PATTERN (insn)))) + && volatile_insn_p (PATTERN (insn)))) { cselib_reset_table (next_uid); cselib_current_insn = NULL_RTX; |