From adddc3471f52ea72f9602b0e716f7cdaee8665b7 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Mon, 26 Nov 2012 03:22:15 +0000 Subject: re PR middle-end/55030 (gcc.c-torture/execute/builtins/memcpy-chk.c execution, -Os (et al)) 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. From-SVN: r193802 --- gcc/cselib.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gcc/cselib.c') diff --git a/gcc/cselib.c b/gcc/cselib.c index 28f8d07..198be8a 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; -- cgit v1.1