Bug 38528 - ICE while building libgfortran (gcc bootstrap)
Summary: ICE while building libgfortran (gcc bootstrap)
Status: RESOLVED WONTFIX
Alias: None
Product: gcc
Classification: Unclassified
Component: middle-end (show other bugs)
Version: 4.3.3
: P3 normal
Target Milestone: 4.6.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-14 20:13 UTC by Bernard Leak
Modified: 2012-02-01 20:40 UTC (History)
2 users (show)

See Also:
Host: i686-pc-linux-gnu
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
First source file in test-case (423 bytes, text/plain)
2008-12-14 20:15 UTC, Bernard Leak
Details
Second source-file of test case (2/2) (79 bytes, text/plain)
2008-12-14 20:16 UTC, Bernard Leak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Leak 2008-12-14 20:13:55 UTC
Apologies if 4.3.3 isn't the right magic version: seen in Revision 142751
(today's live trunk).

While trying to verify Bug 37865 (not connected) on the live tree:
during the building of libgfortran in stage 3 (so supposedly with a
"correct" gcc build) I got

internal compiler error: in change_decl_assembler_name, at cgraph.c:1256

A slightly reduced test-case uses the command-line

/mnt/devel/lfs/lfs-build/gcc-2008-12-14/build-gcc-2008-12-14/./gcc/xgcc -B/mnt/devel/lfs/lfs-build/gcc-2008-12-14/build-gcc-2008-12-14/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -std=gnu99 -fcx-fortran-rules -march=athlon64 -c error.cpp.c fpu.cpp.c -combine

with the source files attached.   This build was configured as

'../gcc-2008-12-14/configure' '--prefix=/usr' '--libexecdir=/usr/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--enable-libada' '--enable-libssp' '--disable-werror' '--with-mpfr=/usr' '--with-gmp=/usr' '--with-datarootdir=/usr/share' '--with-docdir=/usr/share/gcc-2008-12-14/doc' '--with-pdfdir=/usr/share/gcc-2008-12-14/doc' '--with-htmldir=/usr/share/gcc-2008-12-14/doc/html' '--disable-coverage' '--enable-nls' '--enable-__cxa_atexit' '--enable-decimal-float' '--disable-fixed-point' '--enable-threads=posix' '--enable-clocale=gnu' '--enable-shared' '--enable-intermodule' '--enable-languages=ada,c++,fortran,java,objc,obj-c++,c' '--with-local-prefix=/usr' '--with-gnu-ld' '--with-demangler-in-ld' '--with-gnu-as' '--with-system-libunwind' '--with-system-zlib' '--enable-bootstrap'

The CPU is an Athlon64 X2.
Comment 1 Bernard Leak 2008-12-14 20:15:46 UTC
Created attachment 16908 [details]
First source file in test-case
Comment 2 Bernard Leak 2008-12-14 20:16:17 UTC
Created attachment 16909 [details]
Second source-file of test case (2/2)
Comment 3 Andrew Pinski 2008-12-16 00:01:55 UTC
-combine should go away and the code which supports should be removed really.  It is always broken and will most likely will always be broken.
Comment 4 Bernard Leak 2008-12-18 18:45:28 UTC
Is that official?  Do you want to maintain a list of documented gcc
options which unlikely ever to work, for the benefit of the rest of
us?
Comment 5 Andrew Pinski 2012-02-01 20:40:30 UTC
-combine has gone away now in 4.6.0 and above so closing as won't fix.