This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/15955] ICE in make_decl_rtl, at varasm.c
- From: "gccbugs at contacts dot eelis dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jul 2004 19:05:31 -0000
- Subject: [Bug fortran/15955] ICE in make_decl_rtl, at varasm.c
- References: <20040612124805.15955.Mart.Rentmeester@nn-online.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From gccbugs at contacts dot eelis dot net 2004-07-03 19:05 -------
gcc 3.4.0 is also affected, here's an alternative snippet:
struct S
{
double d;
int i;
};
S f ()
{
double a = 0.0;
S b = { a, 0 };
return b;
}
void g () { f(); }
$ g++ -O7 -c t.cpp
t.cpp: In function `void g()':
t.cpp:9: internal compiler error: in make_decl_rtl, at varasm.c:752
$ g++ -v
Reading specs from d:/mingw/bin/../lib/gcc/mingw32/3.4.0/specs
Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as
--host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls
--enable-languages=c,c++,f77,ada,objc,java --disable-win32-registry
--disable-shared --enable-sjlj-exceptions --enable-libgcj --disable-java-awt
--without-x --enable-java-gc=boehm --disable-libgcj-debug --enable-interpreter
--enable-hash-synchronization
Thread model: win32
gcc version 3.4.0 (mingw special)
gcc 3.2.3 is not affected:
eelis@s2:~$ g++ -O7 -c t.cpp
eelis@s2:~$ g++ -v
Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/specs
Configured with: ../gcc-3.2.3/configure --prefix=/usr --enable-shared
--enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld
--verbose --target=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 3.2.3
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15955