Commit 4aafe72f authored by matz's avatar matz
Browse files

PR rtl-optimization/33653

        * dce.c (deletable_insn_p_1): Use volatile_refs_p().
        * dse.c (scan_insn): Same.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129006 138bc75d-0d04-0410-961f-82ee72b054a4
parent 99570287
2007-10-04 Michael Matz <matz@suse.de>
PR rtl-optimization/33653
* dce.c (deletable_insn_p_1): Use volatile_refs_p().
* dse.c (scan_insn): Same.
2007-10-04 Kazu Hirata <kazu@codesourcery.com>
 
* config.gcc: Remove USE_GAS for m68k targets.
......@@ -78,7 +78,7 @@ deletable_insn_p_1 (rtx body)
return false;
default:
if (volatile_insn_p (body))
if (volatile_refs_p (body))
return false;
if (flag_non_call_exceptions && may_trap_p (body))
......
......@@ -1997,7 +1997,7 @@ scan_insn (bb_info_t bb_info, rtx insn)
/* Assuming that there are sets in these insns, we cannot delete
them. */
if ((GET_CODE (PATTERN (insn)) == CLOBBER)
|| volatile_insn_p (PATTERN (insn))
|| volatile_refs_p (PATTERN (insn))
|| (flag_non_call_exceptions && may_trap_p (PATTERN (insn)))
|| (RTX_FRAME_RELATED_P (insn))
|| find_reg_note (insn, REG_FRAME_RELATED_EXPR, NULL_RTX))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment