public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/13578] New: Internal compiler error @ 2004-01-06 3:31 mahall at ncsa dot uiuc dot edu 2004-01-06 3:33 ` [Bug c++/13578] " mahall at ncsa dot uiuc dot edu ` (5 more replies) 0 siblings, 6 replies; 7+ messages in thread From: mahall at ncsa dot uiuc dot edu @ 2004-01-06 3:31 UTC (permalink / raw) To: gcc-bugs The test code causes g++3.3.1 to dump core. The code is invalid, and produces a valid error when compiled under g++2.95 > g++295 testfault.C testfault.C: In method `int CrashingClass<XX>::crash(int) const': testfault.C:9: non-template type `key_compare' used as a template testfault.C:9: parse error before `;' > g++311 testfault.C testfault.C: In member function `int CrashingClass<XX>::crash(int) const': testfault.C:9: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. -- Summary: Internal compiler error Product: gcc Version: 3.3.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mahall at ncsa dot uiuc dot edu CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13578 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/13578] Internal compiler error 2004-01-06 3:31 [Bug c++/13578] New: Internal compiler error mahall at ncsa dot uiuc dot edu @ 2004-01-06 3:33 ` mahall at ncsa dot uiuc dot edu 2004-01-06 4:00 ` [Bug c++/13578] [3.3 Regression] " pinskia at gcc dot gnu dot org ` (4 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: mahall at ncsa dot uiuc dot edu @ 2004-01-06 3:33 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From mahall at ncsa dot uiuc dot edu 2004-01-06 03:33 ------- Created an attachment (id=5414) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5414&action=view) source code to produce g++ crash -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13578 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/13578] [3.3 Regression] Internal compiler error 2004-01-06 3:31 [Bug c++/13578] New: Internal compiler error mahall at ncsa dot uiuc dot edu 2004-01-06 3:33 ` [Bug c++/13578] " mahall at ncsa dot uiuc dot edu @ 2004-01-06 4:00 ` pinskia at gcc dot gnu dot org 2004-01-13 3:44 ` reichelt at gcc dot gnu dot org ` (3 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-01-06 4:00 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-06 04:00 ------- : Search converges between 2003-07-19-3.3 (#169) and 2003-07-20-3.3 (#170). Most likely caused by: <http://gcc.gnu.org/ml/gcc-patches/2003-07/msg01996.html> since this patch went only in for 3.3.1 and did not make its way to the mainline at all. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Keywords| |ice-on-invalid-code Last reconfirmed|0000-00-00 00:00:00 |2004-01-06 04:00:34 date| | Summary|Internal compiler error |[3.3 Regression] Internal | |compiler error Target Milestone|--- |3.3.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13578 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/13578] [3.3 Regression] Internal compiler error 2004-01-06 3:31 [Bug c++/13578] New: Internal compiler error mahall at ncsa dot uiuc dot edu 2004-01-06 3:33 ` [Bug c++/13578] " mahall at ncsa dot uiuc dot edu 2004-01-06 4:00 ` [Bug c++/13578] [3.3 Regression] " pinskia at gcc dot gnu dot org @ 2004-01-13 3:44 ` reichelt at gcc dot gnu dot org 2004-02-15 12:38 ` [Bug c++/13578] [3.3 Regression] ICE in lookup_template_class gdr at gcc dot gnu dot org ` (2 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: reichelt at gcc dot gnu dot org @ 2004-01-13 3:44 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From reichelt at gcc dot gnu dot org 2004-01-13 03:44 ------- Here's an even shorter testcase that causes an ICE with checking enabled. ======================================= template <typename> struct A { typedef int X; }; template <typename T> struct B : A<T> { typename X<T> x; }; ======================================= The error message is: PR13578.cc:13: internal compiler error: tree check: expected record_type, have integer_type in lookup_template_class, at cp/pt.c:4111 Andrew's guess about the patch that caused the regression is correct. Mark, you are the author. Could you please have a look? -- What |Removed |Added ---------------------------------------------------------------------------- CC| |mark at codesourcery dot com Keywords| |monitored http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13578 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/13578] [3.3 Regression] ICE in lookup_template_class 2004-01-06 3:31 [Bug c++/13578] New: Internal compiler error mahall at ncsa dot uiuc dot edu ` (2 preceding siblings ...) 2004-01-13 3:44 ` reichelt at gcc dot gnu dot org @ 2004-02-15 12:38 ` gdr at gcc dot gnu dot org 2004-04-18 18:40 ` gdr at gcc dot gnu dot org 2005-04-30 19:57 ` pinskia at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: gdr at gcc dot gnu dot org @ 2004-02-15 12:38 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From gdr at gcc dot gnu dot org 2004-02-15 12:38 ------- Adjust milestone -- What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.3.3 |3.3.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13578 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/13578] [3.3 Regression] ICE in lookup_template_class 2004-01-06 3:31 [Bug c++/13578] New: Internal compiler error mahall at ncsa dot uiuc dot edu ` (3 preceding siblings ...) 2004-02-15 12:38 ` [Bug c++/13578] [3.3 Regression] ICE in lookup_template_class gdr at gcc dot gnu dot org @ 2004-04-18 18:40 ` gdr at gcc dot gnu dot org 2005-04-30 19:57 ` pinskia at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: gdr at gcc dot gnu dot org @ 2004-04-18 18:40 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From gdr at gcc dot gnu dot org 2004-04-18 18:17 ------- Regression from 3.3 but fixed in 3.4.0. Won't fix for 3.3.x -- What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Target Milestone|3.3.4 |3.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13578 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/13578] [3.3 Regression] ICE in lookup_template_class 2004-01-06 3:31 [Bug c++/13578] New: Internal compiler error mahall at ncsa dot uiuc dot edu ` (4 preceding siblings ...) 2004-04-18 18:40 ` gdr at gcc dot gnu dot org @ 2005-04-30 19:57 ` pinskia at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-04-30 19:57 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-30 19:57 ------- *** Bug 21301 has been marked as a duplicate of this bug. *** -- What |Removed |Added ---------------------------------------------------------------------------- CC| |jorgen at fabeljet dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13578 ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-04-30 19:57 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2004-01-06 3:31 [Bug c++/13578] New: Internal compiler error mahall at ncsa dot uiuc dot edu 2004-01-06 3:33 ` [Bug c++/13578] " mahall at ncsa dot uiuc dot edu 2004-01-06 4:00 ` [Bug c++/13578] [3.3 Regression] " pinskia at gcc dot gnu dot org 2004-01-13 3:44 ` reichelt at gcc dot gnu dot org 2004-02-15 12:38 ` [Bug c++/13578] [3.3 Regression] ICE in lookup_template_class gdr at gcc dot gnu dot org 2004-04-18 18:40 ` gdr at gcc dot gnu dot org 2005-04-30 19:57 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).