public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/12184] New: [3.3/3.4 regression] ICE with trying to convert an incomplete type
@ 2003-09-05 15:13 bangerth at dealii dot org
2003-09-05 15:16 ` [Bug c++/12184] " pinskia at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: bangerth at dealii dot org @ 2003-09-05 15:13 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12184
Summary: [3.3/3.4 regression] ICE with trying to convert an
incomplete type
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Keywords: ice-on-invalid-code
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bangerth at dealii dot org
CC: gcc-bugs at gcc dot gnu dot org
While playing with 12183, I found this:
---------------------------
class C;
class D;
bool mm(D);
void g(C& f) {
mm(f);
}
--------------------------------
This ICEs 3.3 and 3.4:
g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ x.cc
x.cc: In function `void g(C&)':
x.cc:6: error: parameter type of called function is incomplete
x.cc:6: 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.
It didn't ICE with 2.95, so is a regression (although ICE after
error).
W.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/12184] [3.3/3.4 regression] ICE with trying to convert an incomplete type
2003-09-05 15:13 [Bug c++/12184] New: [3.3/3.4 regression] ICE with trying to convert an incomplete type bangerth at dealii dot org
@ 2003-09-05 15:16 ` pinskia at gcc dot gnu dot org
2003-09-06 19:36 ` nathan at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-05 15:16 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12184
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |error-recovery
Last reconfirmed|0000-00-00 00:00:00 |2003-09-05 15:16:53
date| |
Target Milestone|--- |3.4
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-09-05 15:16 -------
>From Phil's regression hunter: Search converges between 2001-01-14-trunk (#2) and 2001-01-
21-trunk (#3).
Since this is a ice-on-invalid after a error message targeting 3.4.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/12184] [3.3/3.4 regression] ICE with trying to convert an incomplete type
2003-09-05 15:13 [Bug c++/12184] New: [3.3/3.4 regression] ICE with trying to convert an incomplete type bangerth at dealii dot org
2003-09-05 15:16 ` [Bug c++/12184] " pinskia at gcc dot gnu dot org
@ 2003-09-06 19:36 ` nathan at gcc dot gnu dot org
2003-09-15 15:20 ` cvs-commit at gcc dot gnu dot org
2003-09-15 15:22 ` nathan at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: nathan at gcc dot gnu dot org @ 2003-09-06 19:36 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12184
nathan at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |nathan at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/12184] [3.3/3.4 regression] ICE with trying to convert an incomplete type
2003-09-05 15:13 [Bug c++/12184] New: [3.3/3.4 regression] ICE with trying to convert an incomplete type bangerth at dealii dot org
2003-09-05 15:16 ` [Bug c++/12184] " pinskia at gcc dot gnu dot org
2003-09-06 19:36 ` nathan at gcc dot gnu dot org
@ 2003-09-15 15:20 ` cvs-commit at gcc dot gnu dot org
2003-09-15 15:22 ` nathan at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-09-15 15:20 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12184
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-09-15 14:48 -------
Subject: Bug 12184
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: nathan@gcc.gnu.org 2003-09-15 14:48:30
Modified files:
gcc/cp : typeck.c pt.c ChangeLog
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/expr: call2.C
Log message:
cp:
PR c++/12184
* typeck.c (convert_arguments): Return error_mark_node for an
incomplete parameter. Make error message more informative.
testsuite:
PR c++/12184
* g++.dg/expr/call2.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck.c.diff?cvsroot=gcc&r1=1.502&r2=1.503
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&r1=1.777&r2=1.778
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3679&r2=1.3680
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3055&r2=1.3056
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/expr/call2.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/12184] [3.3/3.4 regression] ICE with trying to convert an incomplete type
2003-09-05 15:13 [Bug c++/12184] New: [3.3/3.4 regression] ICE with trying to convert an incomplete type bangerth at dealii dot org
` (2 preceding siblings ...)
2003-09-15 15:20 ` cvs-commit at gcc dot gnu dot org
@ 2003-09-15 15:22 ` nathan at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: nathan at gcc dot gnu dot org @ 2003-09-15 15:22 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12184
nathan at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
------- Additional Comments From nathan at gcc dot gnu dot org 2003-09-15 14:57 -------
2003-09-15 Nathan Sidwell <nathan@codesourcery.com>
PR c++/12184
* typeck.c (convert_arguments): Return error_mark_node for an
incomplete parameter. Make error message more informative.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-09-15 14:57 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-05 15:13 [Bug c++/12184] New: [3.3/3.4 regression] ICE with trying to convert an incomplete type bangerth at dealii dot org
2003-09-05 15:16 ` [Bug c++/12184] " pinskia at gcc dot gnu dot org
2003-09-06 19:36 ` nathan at gcc dot gnu dot org
2003-09-15 15:20 ` cvs-commit at gcc dot gnu dot org
2003-09-15 15:22 ` nathan 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).