Bug 12609 - [3.4 Regression] Tru64 UNIX V5.1B bootstrap failure: ICE in config/alpha/alpha.c (function_value)
Summary: [3.4 Regression] Tru64 UNIX V5.1B bootstrap failure: ICE in config/alpha/alph...
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 3.4.0
: P2 critical
Target Milestone: 3.4.0
Assignee: Not yet assigned to anyone
URL:
Keywords: build, ice-on-valid-code
Depends on:
Blocks:
 
Reported: 2003-10-14 00:55 UTC by Rainer Orth
Modified: 2004-01-17 04:22 UTC (History)
1 user (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: 2003-10-14 05:03:36


Attachments
preprocessed input: libgcc2.i (6.83 KB, text/plain)
2003-10-14 00:59 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-10-14 00:55:56 UTC
Bootstrap fails on Tru64 UNIX V5.1B building libgcc:

./xgcc -B./ -B/vol/gcc/share/alpha-dec-osf5.1b/bin/ -isystem /vol/gcc/share/alpha-dec-osf5.1b/include -isystem /vol/gcc/share/alpha-dec-osf5.1b/sys-include -L/vol/gcc/obj/gcc-3.4-20031014/5.1b-gcc/gcc/../ld -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -pthread -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I -I/vol/gnu/src/gcc/gcc-dist-current/gcc -I/vol/gnu/src/gcc/gcc-dist-current/gcc/ -I/vol/gnu/src/gcc/gcc-dist-current/gcc/../include   -DL_fixunstfdi -c /vol/gnu/src/gcc/gcc-dist-current/gcc/libgcc2.c -o libgcc/./_fixunstfdi.o
/vol/gnu/src/gcc/gcc-dist-current/gcc/libgcc2.c: In function `__fixunstfti':

/vol/gnu/src/gcc/gcc-dist-current/gcc/libgcc2.c:1174: internal compiler error: in function_value, at config/alpha/alpha.c:6048

Environment:
System: OSF1 bartok V5.1 2650 alpha
Machine: alpha
	
host: alpha-dec-osf5.1b
build: alpha-dec-osf5.1b
target: alpha-dec-osf5.1b
configured with: /vol/gnu/src/gcc/gcc-dist-current/configure --prefix=/vol/gcc --with-local-prefix=/vol/gcc --disable-nls alpha-dec-osf5.1b

How-To-Repeat:
The error exists even when running ./cc1 libgcc2.i
Comment 1 Rainer Orth 2003-10-14 00:59:25 UTC
Created attachment 4931 [details]
preprocessed input: libgcc2.i
Comment 2 Andrew Pinski 2003-10-14 01:01:57 UTC
Most likely the same bug as PR 12588.
Comment 3 Rainer Orth 2003-10-14 01:14:46 UTC
Subject: Re:  [3.4 Regression] Tru64 UNIX V5.1B bootstrap failure: ICE in config/alpha/alpha.c (function_value)

Confirmed: Falk's testcase triggers the same ICE.  Unfortunately, backing
out Richard Kenner's patch doesn't help.

	Rainer
Comment 4 Rainer Orth 2003-10-22 22:18:45 UTC
Fixed, probably by

http://gcc.gnu.org/ml/gcc-patches/2003-10/msg01970.html
Comment 5 Andrew Pinski 2003-10-22 22:25:25 UTC
Is PR 12588 fixed also?
Comment 6 Rainer Orth 2003-10-22 22:33:13 UTC
Subject: Re:  [3.4 Regression] Tru64 UNIX V5.1B bootstrap failure: ICE in config/alpha/alpha.c (function_value)

I think so: at least Falk's testcase doesn't crash any longer, but it's
probably better to let the original submitter verify von Alpha GNU/Linux to
make sure.

	Rainer