[Bug 334054] New: gcc internal compiler error
https://bugzilla.novell.com/show_bug.cgi?id=334054#c1 Summary: gcc internal compiler error Product: openSUSE 10.2 Version: Final Platform: All OS/Version: openSUSE 10.2 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: ulrich@schmid-post.de QAContact: qa@suse.de Found By: --- When compiling this: # 1 "foo.cpp" # 1 "<built-in>" # 1 "<command line>" # 1 "foo.cpp" template <int i, typename type> class MyClass {}; template <typename type> class MyClass<1, type> { template <int j> void function(void); }; template <typename type> template <int j> void MyClass<1, float>::function(void) {}; int main() { return 0; } with this command: % gcc foo foo.cpp this happens: foo.cpp:8: internal compiler error: in check_classfn, at cp/decl2.c:614 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.opensuse.org> for instructions. with this system: Using built-in specs. Target: i586-suse-linux Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.1.2 --enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit --enable-libstdcxx-allocator=new --program-suffix=-4.1 --enable-version-specific-runtime-libs --without-system-libunwind --with-cpu=generic --host=i586-suse-linux Thread model: posix gcc version 4.1.2 20061115 (prerelease) (SUSE Linux) Linux localhost 2.6.18.2-34-default #1 SMP Mon Nov 27 11:46:27 UTC 2006 i686 i686 i386 GNU/Linux -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=334054#c1 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |meissner@novell.com AssignedTo|bnc-team-screening@forge.provo.novell.com |rguenther@novell.com --- Comment #1 from Marcus Meissner <meissner@novell.com> 2007-10-16 06:08:03 MST --- likely a problem for richi -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=334054#c2 Richard Guenther <rguenther@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #2 from Richard Guenther <rguenther@novell.com> 2007-10-16 06:15:07 MST --- Note this is an invalid specialization, correct would be template <> template <int j> void MyClass<1, float>::function(void) {}; The ice-on-invalid is http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28743 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=334054#c3 --- Comment #3 from Richard Guenther <rguenther@novell.com> 2007-10-16 06:16:44 MST --- Or template <typename type> template <int j> void MyClass<1, type>::function(void) {}; -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=334054 Richard Guenther <rguenther@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Minor Priority|P5 - None |P4 - Low -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=334054 User meissner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=334054#c4 --- Comment #4 from Marcus Meissner <meissner@novell.com> 2008-12-10 14:29:38 MST --- can we close this now, richi? :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=334054 User rguenther@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=334054#c5 Richard Guenther <rguenther@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |UPSTREAM --- Comment #5 from Richard Guenther <rguenther@novell.com> 2008-12-10 16:03:48 MST --- FIXED upstream for GCC 4.4. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com