This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/17427] [4.0 Regression] powerpc-linux does not bootstrap on HEAD with --disable-checking
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Sep 2004 19:33:49 -0000
- Subject: [Bug rtl-optimization/17427] [4.0 Regression] powerpc-linux does not bootstrap on HEAD with --disable-checking
- References: <20040912033838.17427.drow@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-15 19:33 -------
By the way here is the patch:
Index: gcse.c
===============================================================
====
RCS file: /cvs/gcc/gcc/gcc/gcse.c,v
retrieving revision 1.314
diff -u -p -r1.314 gcse.c
--- gcse.c 9 Sep 2004 13:53:55 -0000 1.314
+++ gcse.c 15 Sep 2004 19:30:38 -0000
@@ -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 ();
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17427