Bug 12414 - IRIX 6.2 bootstrap failure: ICE in expand_increment
Summary: IRIX 6.2 bootstrap failure: ICE in expand_increment
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: bootstrap (show other bugs)
Version: 3.4.0
: P2 critical
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-26 02:54 UTC by Rainer Orth
Modified: 2005-07-23 22:49 UTC (History)
1 user (show)

See Also:
Host: mips-sgi-irix6.2
Target: mips-sgi-irix6.2
Build: mips-sgi-irix6.2
Known to work:
Known to fail:
Last reconfirmed:


Attachments
preprocessed input (7.59 KB, text/plain)
2003-09-26 02:55 UTC, Rainer Orth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Orth 2003-09-26 02:54:04 UTC
The stage1 cc1 ICEs building libgcc/_muldi3.o on IRIX 6.2:

/vol/gnu/src/gcc/gcc-dist-current/gcc/libgcc2.c: In function `__muldi3':

/vol/gnu/src/gcc/gcc-dist-current/gcc/libgcc2.c:502: internal compiler error: tree check: accessed operand 4769025 of error_mark with 0 operands in expand_increment, at expr.c:9587
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [libgcc/./_muldi3.o] Error 1

Environment:
System: IRIX lynx 6.2 03131015 IP22


	
host: mips-sgi-irix6.2
build: mips-sgi-irix6.2
target: mips-sgi-irix6.2
configured with: /vol/gnu/src/gcc/gcc-dist-current/configure --prefix=/vol/gcc --with-local-prefix=/vol/gcc --disable-nls --disable-multilib

How-To-Repeat:
Bootstrap current mainline with gcc (3.1 in this case).  The same bootstrap
works on IRIX 6.5.21.

The failure even occurs with ./cc1 libgcc2.i.
Comment 1 Rainer Orth 2003-09-26 02:55:30 UTC
Created attachment 4826 [details]
preprocessed input
Comment 2 Richard Sandiford 2003-09-26 07:32:16 UTC
Rainer, which assembler are you using?  Is it the same on both
the irix6.2 and irix6.5 boxes?

There's a bug in (some?) MIPSpro assemblers earlier than 7.30
that causes large functions with dwarf info to be misassembled.
Comment 3 Rainer Orth 2003-09-29 19:45:14 UTC
Subject: Re:  IRIX 6.2 bootstrap failure: ICE in expand_increment

I had been using MIPSpro 7.20 as on 6.2, but either 7.30 or 7.40/7.41 on
6.5.  I've now installed IDF/IDL 1.2/MIPSpro 7.3 with the relevant patches,
and bootstrap is past stage1 with this.

I'll prepare a patch for install.texi to document this.

Thanks.
	Rainer
Comment 4 Rainer Orth 2003-09-30 10:21:10 UTC
Not a gcc bug.