This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
egcs bootstrap on i386-openbsd ICEs
- To: law at cygnus dot com
- Subject: egcs bootstrap on i386-openbsd ICEs
- From: Marc Espie <espie at bonnie dot liafa dot jussieu dot fr>
- Date: Thu, 30 Mar 2000 03:18:30 +0200
- Cc: egcs-bugs at egcs dot cygnus dot com
Well, I've seen your patch to stmt.c to fix sjlj related problems on PA,
and I've applied it.
No cigar: egcs snapshots after 0313 no longer bootstrap on i386ropenbsd,
even with that patch:
$OpenBSD$
--- gcc/stmt.c.orig Mon Mar 27 02:50:27 2000
+++ gcc/stmt.c Thu Mar 30 01:38:56 2000
@@ -2618,7 +2618,10 @@ expand_exit_loop_if_false (whichloop, co
int
stmt_loop_nest_empty ()
{
- return (loop_stack == NULL);
+ /* cfun->stmt can be NULL if we are building a call to get the
+ EH context for a setjmp/longjmp EH target and the current
+ function was a deferred inline function. */
+ return (cfun->stmt == NULL || loop_stack == NULL);
}
/* Return non-zero if we should preserve sub-expressions as separate
The result with 0320 is as follows, same with and without the patch.
Relevant facts:
a.out, sjlj i386 target, stage1/gcc burping.
Any ideas ?
/usr/ports/lang/egcs/snapshot/work/egcs-20000327/gcc/cp/tinfo.cc: In function `void __rtti_class (void
/usr/ports/lang/egcs/snapshot/work/egcs-20000327/gcc/cp/tinfo.cc: *, const char *, const
/usr/ports/lang/egcs/snapshot/work/egcs-20000327/gcc/cp/tinfo.cc: __class_type_info::base_info *,
/usr/ports/lang/egcs/snapshot/work/egcs-20000327/gcc/cp/tinfo.cc: unsigned int)':
/usr/ports/lang/egcs/snapshot/work/egcs-20000327/gcc/cp/tinfo.cc:75: Unrecognizable insn:
(call_insn 674 662 678 (call_placeholder 669 663 0 0) -1 (nil)
(nil)
(nil))
/usr/ports/lang/egcs/snapshot/work/egcs-20000327/gcc/cp/tinfo.cc:75: Internal compiler error in
/usr/ports/lang/egcs/snapshot/work/egcs-20000327/gcc/cp/tinfo.cc:75: `extract_insn', at recog.c:2044
/usr/ports/lang/egcs/snapshot/work/egcs-20000327/gcc/cp/tinfo.cc:75: Please submit a full bug report.
/usr/ports/lang/egcs/snapshot/work/egcs-20000327/gcc/cp/tinfo.cc:75: See
/usr/ports/lang/egcs/snapshot/work/egcs-20000327/gcc/cp/tinfo.cc:75: <URL:http://www.gnu.org/software/gcc/bugs.html>
/usr/ports/lang/egcs/snapshot/work/egcs-20000327/gcc/cp/tinfo.cc:75: for instructions.