public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/28258] New: [4.0/4.1/4.2 regression] ICE with invalid constructor @ 2006-07-04 23:52 reichelt at gcc dot gnu dot org 2006-07-04 23:56 ` [Bug c++/28258] " pinskia at gcc dot gnu dot org ` (7 more replies) 0 siblings, 8 replies; 9+ messages in thread From: reichelt at gcc dot gnu dot org @ 2006-07-04 23:52 UTC (permalink / raw) To: gcc-bugs The following invalid testcase triggers an ICE since GCC 3.0: ========================================= struct A { A(void x); }; struct B : A {}; B b; ========================================= bug.cc:3: error: 'x' has incomplete type bug.cc:3: error: invalid use of 'void' bug.cc:8: internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in locate_copy, at cp/method.c:946 Please submit a full bug report, [tc.] -- Summary: [4.0/4.1/4.2 regression] ICE with invalid constructor Product: gcc Version: 4.2.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, error-recovery, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28258 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/28258] [4.0/4.1/4.2 regression] ICE with invalid constructor 2006-07-04 23:52 [Bug c++/28258] New: [4.0/4.1/4.2 regression] ICE with invalid constructor reichelt at gcc dot gnu dot org @ 2006-07-04 23:56 ` pinskia at gcc dot gnu dot org 2006-07-17 3:06 ` mmitchel at gcc dot gnu dot org ` (6 subsequent siblings) 7 siblings, 0 replies; 9+ messages in thread From: pinskia at gcc dot gnu dot org @ 2006-07-04 23:56 UTC (permalink / raw) To: gcc-bugs -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.0.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28258 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/28258] [4.0/4.1/4.2 regression] ICE with invalid constructor 2006-07-04 23:52 [Bug c++/28258] New: [4.0/4.1/4.2 regression] ICE with invalid constructor reichelt at gcc dot gnu dot org 2006-07-04 23:56 ` [Bug c++/28258] " pinskia at gcc dot gnu dot org @ 2006-07-17 3:06 ` mmitchel at gcc dot gnu dot org 2006-07-17 22:06 ` lmillward at gcc dot gnu dot org ` (5 subsequent siblings) 7 siblings, 0 replies; 9+ messages in thread From: mmitchel at gcc dot gnu dot org @ 2006-07-17 3:06 UTC (permalink / raw) To: gcc-bugs -- mmitchel at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28258 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/28258] [4.0/4.1/4.2 regression] ICE with invalid constructor 2006-07-04 23:52 [Bug c++/28258] New: [4.0/4.1/4.2 regression] ICE with invalid constructor reichelt at gcc dot gnu dot org 2006-07-04 23:56 ` [Bug c++/28258] " pinskia at gcc dot gnu dot org 2006-07-17 3:06 ` mmitchel at gcc dot gnu dot org @ 2006-07-17 22:06 ` lmillward at gcc dot gnu dot org 2006-07-18 17:22 ` lmillward at gcc dot gnu dot org ` (4 subsequent siblings) 7 siblings, 0 replies; 9+ messages in thread From: lmillward at gcc dot gnu dot org @ 2006-07-17 22:06 UTC (permalink / raw) To: gcc-bugs -- lmillward at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |lmillward at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2006-07-17 22:06:47 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28258 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/28258] [4.0/4.1/4.2 regression] ICE with invalid constructor 2006-07-04 23:52 [Bug c++/28258] New: [4.0/4.1/4.2 regression] ICE with invalid constructor reichelt at gcc dot gnu dot org ` (2 preceding siblings ...) 2006-07-17 22:06 ` lmillward at gcc dot gnu dot org @ 2006-07-18 17:22 ` lmillward at gcc dot gnu dot org 2006-07-18 17:23 ` [Bug c++/28258] [4.0/4.1 " lmillward at gcc dot gnu dot org ` (3 subsequent siblings) 7 siblings, 0 replies; 9+ messages in thread From: lmillward at gcc dot gnu dot org @ 2006-07-18 17:22 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from lmillward at gcc dot gnu dot org 2006-07-18 17:22 ------- Subject: Bug 28258 Author: lmillward Date: Tue Jul 18 17:22:39 2006 New Revision: 115561 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115561 Log: PR c++/28258 * method.c (locate_copy): Check for non_reference returning error_mark_node. PR c++/28260 * decl.c (duplicate_decls): Return error_mark_node on ambiguous declaration. PR c++/28258 * g++/dg/other/error13.C: New test. PR c++/28260 * g++.dg/template/friend44.C: New test. Added: trunk/gcc/testsuite/g++.dg/other/error13.C trunk/gcc/testsuite/g++.dg/template/friend44.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl.c trunk/gcc/cp/method.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28258 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/28258] [4.0/4.1 regression] ICE with invalid constructor 2006-07-04 23:52 [Bug c++/28258] New: [4.0/4.1/4.2 regression] ICE with invalid constructor reichelt at gcc dot gnu dot org ` (3 preceding siblings ...) 2006-07-18 17:22 ` lmillward at gcc dot gnu dot org @ 2006-07-18 17:23 ` lmillward at gcc dot gnu dot org 2006-07-22 14:03 ` lmillward at gcc dot gnu dot org ` (2 subsequent siblings) 7 siblings, 0 replies; 9+ messages in thread From: lmillward at gcc dot gnu dot org @ 2006-07-18 17:23 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from lmillward at gcc dot gnu dot org 2006-07-18 17:23 ------- Fixed on mainline. Will apply to release branches once testing completes. -- lmillward at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[4.0/4.1/4.2 regression] ICE|[4.0/4.1 regression] ICE |with invalid constructor |with invalid constructor http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28258 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/28258] [4.0/4.1 regression] ICE with invalid constructor 2006-07-04 23:52 [Bug c++/28258] New: [4.0/4.1/4.2 regression] ICE with invalid constructor reichelt at gcc dot gnu dot org ` (4 preceding siblings ...) 2006-07-18 17:23 ` [Bug c++/28258] [4.0/4.1 " lmillward at gcc dot gnu dot org @ 2006-07-22 14:03 ` lmillward at gcc dot gnu dot org 2006-07-22 14:08 ` lmillward at gcc dot gnu dot org 2006-07-22 14:08 ` lmillward at gcc dot gnu dot org 7 siblings, 0 replies; 9+ messages in thread From: lmillward at gcc dot gnu dot org @ 2006-07-22 14:03 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from lmillward at gcc dot gnu dot org 2006-07-22 14:03 ------- Subject: Bug 28258 Author: lmillward Date: Sat Jul 22 14:03:16 2006 New Revision: 115674 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115674 Log: PR c++/28258 * method.c (locate_copy): Check for non_reference returning error_mark_node. * g++/dg/other/error11.C: New test. Added: branches/gcc-4_1-branch/gcc/testsuite/g++.dg/other/error11.C Modified: branches/gcc-4_1-branch/gcc/cp/ChangeLog branches/gcc-4_1-branch/gcc/cp/method.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28258 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/28258] [4.0/4.1 regression] ICE with invalid constructor 2006-07-04 23:52 [Bug c++/28258] New: [4.0/4.1/4.2 regression] ICE with invalid constructor reichelt at gcc dot gnu dot org ` (5 preceding siblings ...) 2006-07-22 14:03 ` lmillward at gcc dot gnu dot org @ 2006-07-22 14:08 ` lmillward at gcc dot gnu dot org 2006-07-22 14:08 ` lmillward at gcc dot gnu dot org 7 siblings, 0 replies; 9+ messages in thread From: lmillward at gcc dot gnu dot org @ 2006-07-22 14:08 UTC (permalink / raw) To: gcc-bugs ------- Comment #5 from lmillward at gcc dot gnu dot org 2006-07-22 14:08 ------- Fixed in 4.1.2 and 4.0.4 -- lmillward at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28258 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/28258] [4.0/4.1 regression] ICE with invalid constructor 2006-07-04 23:52 [Bug c++/28258] New: [4.0/4.1/4.2 regression] ICE with invalid constructor reichelt at gcc dot gnu dot org ` (6 preceding siblings ...) 2006-07-22 14:08 ` lmillward at gcc dot gnu dot org @ 2006-07-22 14:08 ` lmillward at gcc dot gnu dot org 7 siblings, 0 replies; 9+ messages in thread From: lmillward at gcc dot gnu dot org @ 2006-07-22 14:08 UTC (permalink / raw) To: gcc-bugs ------- Comment #4 from lmillward at gcc dot gnu dot org 2006-07-22 14:08 ------- Subject: Bug 28258 Author: lmillward Date: Sat Jul 22 14:07:57 2006 New Revision: 115675 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115675 Log: PR c++/28258 * method.c (locate_copy): Check for non_reference returning error_mark_node. * g++/dg/other/error10.C: New test. Added: branches/gcc-4_0-branch/gcc/testsuite/g++.dg/other/error10.C Modified: branches/gcc-4_0-branch/gcc/cp/ChangeLog branches/gcc-4_0-branch/gcc/cp/method.c branches/gcc-4_0-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28258 ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2006-07-22 14:08 UTC | newest] Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2006-07-04 23:52 [Bug c++/28258] New: [4.0/4.1/4.2 regression] ICE with invalid constructor reichelt at gcc dot gnu dot org 2006-07-04 23:56 ` [Bug c++/28258] " pinskia at gcc dot gnu dot org 2006-07-17 3:06 ` mmitchel at gcc dot gnu dot org 2006-07-17 22:06 ` lmillward at gcc dot gnu dot org 2006-07-18 17:22 ` lmillward at gcc dot gnu dot org 2006-07-18 17:23 ` [Bug c++/28258] [4.0/4.1 " lmillward at gcc dot gnu dot org 2006-07-22 14:03 ` lmillward at gcc dot gnu dot org 2006-07-22 14:08 ` lmillward at gcc dot gnu dot org 2006-07-22 14:08 ` lmillward 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).