diff options
author | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-15 21:45:28 +0000 |
---|---|---|
committer | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-15 21:45:28 +0000 |
commit | 0fa137b8827c4209594a8a62105e89218f2df2a4 (patch) | |
tree | b4d0c8b4e9c0e8aceab7e39a6ddce2c9166dd037 /gcc | |
parent | 16d3c6c49c31ed9e4e03b4ed630887ad63fcf38e (diff) | |
download | gcc-0fa137b8827c4209594a8a62105e89218f2df2a4.tar.gz |
2004-09-15 Andrew Pinski <apinski@apple.com>
PR rtl-opt/17427
* gcse.c (process_insert_insn): insn_invalid_p has side effects.
Move it out of gcc_assert.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87565 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/gcse.c | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cf5b444dadb..b87ba75660c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-09-15 Andrew Pinski <apinski@apple.com> + + PR rtl-opt/17427 + * gcse.c (process_insert_insn): insn_invalid_p has side effects. + Move it out of gcc_assert. + 2004-09-15 Joseph S. Myers <jsm@polyomino.org.uk> * attribs.c, builtins.c, c-format.c, c-pch.c, coverage.c, diff --git a/gcc/gcse.c b/gcc/gcse.c index 3e0ede4cfa1..32d4d44562d 100644 --- a/gcc/gcse.c +++ b/gcc/gcse.c @@ -4006,7 +4006,8 @@ process_insert_insn (struct expr *expr) { rtx insn = emit_insn (gen_rtx_SET (VOIDmode, reg, exp)); - gcc_assert (!insn_invalid_p (insn)); + if (insn_invalid_p (insn)) + gcc_unreachable (); } |