Bug 19374 - [4.0 Regression] ICE in make_decl_rtl, at varasm.c:867
Summary: [4.0 Regression] ICE in make_decl_rtl, at varasm.c:867
Status: RESOLVED DUPLICATE of bug 19241
Alias: None
Product: gcc
Classification: Unclassified
Component: tree-optimization (show other bugs)
Version: 4.0.0
: P2 normal
Target Milestone: 4.0.0
Assignee: Not yet assigned to anyone
URL:
Keywords: ice-on-valid-code
Depends on:
Blocks:
 
Reported: 2005-01-11 14:32 UTC by Michael Cieslinski
Modified: 2005-07-23 22:49 UTC (History)
1 user (show)

See Also:
Host: x86_64-redhat-linux
Target: x86_64-redhat-linux
Build: x86_64-redhat-linux
Known to work:
Known to fail:
Last reconfirmed:


Attachments
preprocessed source (84.28 KB, text/plain)
2005-01-11 14:33 UTC, Michael Cieslinski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Cieslinski 2005-01-11 14:32:21 UTC
When I compile our sources at -O3 with the actual snapshot I get an ICE:

g++ -O3 -c -o ErrValTest.o ErrValTest.ii
ErrValTest.ii: In member function 'ErrVal ErrValTest::recursiveTest(int, int)':
ErrValTest.ii:16115: internal compiler error: in make_decl_rtl, at varasm.c:867
Please submit a full bug report,with preprocessed source if appropriate.

g++ -v
Using built-in specs.
Configured with: ../gcc40/configure --prefix=/usr/local/gcc40f
--program-suffix=40f --with-arch=opteron --enable-languages=c,c++
--enable-checking
Thread model: posix
gcc version 4.0.0 20050109 (experimental)

gcc was build with "make bootstrap" and following CFLAGS
 -pipe -g -O3 -march=opteron -fmessage-length=0 -falign-loops=16 
 -falign-jumps=16 -falign-functions=32 -fstrict-aliasing -fsched-interblock
 -ffast-math -funroll-all-loops -funit-at-a-time -fpeel-loops -ftracer
 -funswitch-loops -floop-optimize2 -fmove-loop-invariants -fgcse-after-reload
 -frename-registers -fmodulo-sched --param max-gcse-passes=5
 --param max-unrolled-insns=600 --param inline-unit-growth=300
 --param large-function-growth=400

Michael Cieslinski
Comment 1 Michael Cieslinski 2005-01-11 14:33:16 UTC
Created attachment 7928 [details]
preprocessed source
Comment 2 Andrew Pinski 2005-01-11 15:24:06 UTC
I think this is a dup of bug 19241 but I have no prove yet.
Comment 3 Andrew Pinski 2005-01-11 15:28:58 UTC
Ok, I have some more information.
We do:
        [pr19374.1.cc : 15716] D.41402 = <retval>;
        [pr19374.1.cc : 15716] __comp_ctor  (D.41402, &"e%d"[0], level);
        [pr19374.1.cc : 15716] return <retval>;

into
                  [pr19374.1.cc : 15716] D.45362 = &D.45365;
                  [pr19374.1.cc : 15716] __comp_ctor  (D.45362, &"e%d"[0], level);

This just shows the problem and why this is a dup of bug 19241.

*** This bug has been marked as a duplicate of 19241 ***