This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/17427] [4.0 Regression] powerpc-linux does not bootstrap on HEAD with --disable-checking


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]