Bug 37426 - [4.4 regression] IRA merge breaks Tru64 UNIX bootstrap
Summary: [4.4 regression] IRA merge breaks Tru64 UNIX bootstrap
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: bootstrap (show other bugs)
Version: 4.4.0
: P3 major
Target Milestone: 4.4.0
Assignee: Not yet assigned to anyone
URL:
Keywords: ice-on-valid-code, ra
Depends on:
Blocks:
 
Reported: 2008-09-08 14:33 UTC by Rainer Orth
Modified: 2008-09-29 15:14 UTC (History)
5 users (show)

See Also:
Host: alpha-dec-osf5.1b
Target: alpha-dec-osf5.1b
Build: alpha-dec-osf5.1b
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Orth 2008-09-08 14:33:56 UTC
As of 20080903, mainline doesn't bootstrap on alpha-dec-osf5.1b: in stage2,
compiling build/gengtype-lex.o results in an ICE:

/vol/gccsrc/obj/gcc-4.4.0-20080903/5.1b-gcc/./prev-gcc/xgcc -B/vol/gccsrc/obj/gcc-4.4.0-20080903/5.1b-gcc/./prev-gcc/ -B/vol/gcc/alpha-dec-osf5.1b/bin/ -c  -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common -Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/vol/gcc/src/gcc-dist/gcc -I/vol/gcc/src/gcc-dist/gcc/build -I/vol/gcc/src/gcc-dist/gcc/../include -I/vol/gcc/src/gcc-dist/gcc/../libcpp/include -I/vol/gcc/include -I/vol/gcc/include -I/vol/gcc/src/gcc-dist/gcc/../libdecnumber -I/vol/gcc/src/gcc-dist/gcc/../libdecnumber/dpd -I../libdecnumber    -o build/gengtype-lex.o gengtype-lex.c
gengtype-lex.c: In function 'yy_get_next_buffer':
gengtype-lex.c:1653: warning: old-style function definition
gengtype-lex.c: In function 'yy_get_previous_state':
gengtype-lex.c:1785: warning: old-style function definition
gengtype-lex.c: In function 'input':
gengtype-lex.c:1898: warning: old-style function definition
/vol/gcc/src/gcc-dist/gcc/gengtype-lex.l: At top level:
gengtype-lex.c:1898: warning: 'input' defined but not used
gengtype-lex.c: In function 'yylex':
gengtype-lex.c:1641: internal compiler error: in ira_flattening, at ira-build.c:2146
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [build/gengtype-lex.o] Error 1

This might be identical to PR rtl-optimization/37333.  I'm currently running
a mainline bootstrap as of 20080908 to check.
Comment 1 Rainer Orth 2008-09-09 15:43:57 UTC
Subject: Re:  [4.4 regression] IRA merge breaks Tru64 UNIX bootstrap

After applying the patch for PR rtl-optimization/37333 from

	http://gcc.gnu.org/ml/gcc-patches/2008-09/msg00514.html

and applying

	http://gcc.gnu.org/ml/gcc-patches/2008-09/msg00705.html

I'm now past stage3 and into building the target libs.  So it seems that
this PR can be closed once the patch is checked in.

	Rainer
Comment 2 Rainer Orth 2008-09-29 15:14:10 UTC
Both patches have been checked in, so closing as fixed.
(We're back at PR bootstrap/36851 now, though.)