re PR rtl-optimization/17427 (powerpc-linux does not bootstrap on HEAD with --disable...
authorAndrew Pinski <apinski@apple.com>
Wed, 15 Sep 2004 21:45:28 +0000 (21:45 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Wed, 15 Sep 2004 21:45:28 +0000 (14:45 -0700)
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

gcc/ChangeLog
gcc/gcse.c

index cf5b444dadb0b889627c3f8fe2c3941c07feefa2..b87ba75660ced6672f6206037d17c407aef82ffa 100644 (file)
@@ -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,
index 3e0ede4cfa1f591ee0363fb50654c0ad09f7011e..32d4d44562ddebe09590b3cebfba019a027109dc 100644 (file)
@@ -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 ();
     }