diff options
author | Andrew Pinski <apinski@apple.com> | 2004-09-15 21:45:28 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2004-09-15 14:45:28 -0700 |
commit | 2f021b673a02a6648a45215ca0472d8ba6cd393b (patch) | |
tree | b4d0c8b4e9c0e8aceab7e39a6ddce2c9166dd037 /gcc | |
parent | 2d2a672d924b9a032b661b5f12f53653aa619505 (diff) | |
download | gcc-2f021b673a02a6648a45215ca0472d8ba6cd393b.zip gcc-2f021b673a02a6648a45215ca0472d8ba6cd393b.tar.gz gcc-2f021b673a02a6648a45215ca0472d8ba6cd393b.tar.bz2 |
re PR rtl-optimization/17427 (powerpc-linux does not bootstrap on HEAD with --disable-checking)
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.
From-SVN: r87565
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 cf5b444..b87ba75 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, @@ -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 (); } |