Package: g++-4.1 Version: 4.1.1-5 Severity: normal Debian (testing) g++-4.1 fails to compile a simple C++ source that makes use of templates and quits with an internal compiler error:
$ g++-4.1 -Wall -c gcc-4-bug.ii gcc-4-bug.cc: In function ‘int label(int) [with bool neighb8 = true]’: gcc-4-bug.cc:21: internal compiler error: in make_decl_rtl, at varasm.c:883 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. For Debian GNU/Linux specific bug reporting instructions, see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>. Preprocessed source stored into /tmp/ccANp0rz.out file, please attach this to your bugreport. The stripped down and preprocessed source that's used to demonstrate the error ('gcc-4-bug.ii') is attached to this mail. As a workaround, the source can be compiled using g++-3.4, but that might cause trouble when other C++ libraries are linked into the resulting executable (ABI incompatability). Note that compilation with g++-4.0 fails as well. regards, David -- GnuPG public key: http://user.cs.tu-berlin.de/~dvdkhlng/dk.gpg Fingerprint: B17A DC95 D293 657B 4205 D016 7DEF 5323 C174 7D40
gcc-4-bug.ii
Description: Binary data