public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/17456] New: [3.3 regression] ICE when brackets missing from member function call
@ 2004-09-13 11:49 zak at transversal dot com
2004-09-13 11:50 ` [Bug c++/17456] " zak at transversal dot com
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: zak at transversal dot com @ 2004-09-13 11:49 UTC (permalink / raw)
To: gcc-bugs
The following code produces a sensible error (statement cannot resolve address
of overloaded function) immediately followed by an ICE.
Note that removing the base class makes the ICE go away.
Fails in all 3.3 versions; other branches seem unaffected.
struct B { };
struct D : B
{
void foo();
D() { foo; }
};
--
Summary: [3.3 regression] ICE when brackets missing from member
function call
Product: gcc
Version: 3.3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: zak at transversal dot com
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=17456
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/17456] [3.3 regression] ICE when brackets missing from member function call
2004-09-13 11:49 [Bug c++/17456] New: [3.3 regression] ICE when brackets missing from member function call zak at transversal dot com
@ 2004-09-13 11:50 ` zak at transversal dot com
2004-09-13 14:20 ` bangerth at dealii dot org
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: zak at transversal dot com @ 2004-09-13 11:50 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |error-recovery, ice-on-
| |invalid-code
Known to fail| |3.3 3.3.1 3.3.2 3.3.3 3.3.4
Known to work| |2.95.4 3.0.4 3.2.3 3.4.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17456
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/17456] [3.3 regression] ICE when brackets missing from member function call
2004-09-13 11:49 [Bug c++/17456] New: [3.3 regression] ICE when brackets missing from member function call zak at transversal dot com
2004-09-13 11:50 ` [Bug c++/17456] " zak at transversal dot com
@ 2004-09-13 14:20 ` bangerth at dealii dot org
2004-09-20 16:38 ` reichelt at gcc dot gnu dot org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bangerth at dealii dot org @ 2004-09-13 14:20 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bangerth at dealii dot org 2004-09-13 14:20 -------
Confirmed. Actually, the compiler goes into a memory-eating infinite
loop after issuing the error -- really bad.
(As for the validity of the error in the first place: the error message
is completely bogus, I think: the statement simply takes the address
of the function -- and there is only one, no overloads! -- and discards
the result. I don't see why it shouldn't accept this code. I just opened
PR 17459 for this.)
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Known to work|2.95.4 3.0.4 3.2.3 3.4.1 |2.95.4 3.0.4 3.2.3 3.4.1
| |4.0.0
Last reconfirmed|0000-00-00 00:00:00 |2004-09-13 14:20:34
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17456
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/17456] [3.3 regression] ICE when brackets missing from member function call
2004-09-13 11:49 [Bug c++/17456] New: [3.3 regression] ICE when brackets missing from member function call zak at transversal dot com
2004-09-13 11:50 ` [Bug c++/17456] " zak at transversal dot com
2004-09-13 14:20 ` bangerth at dealii dot org
@ 2004-09-20 16:38 ` reichelt at gcc dot gnu dot org
2004-09-20 21:00 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-09-20 16:38 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Keywords| |monitored
Target Milestone|--- |3.3.6
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17456
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/17456] [3.3 regression] ICE when brackets missing from member function call
2004-09-13 11:49 [Bug c++/17456] New: [3.3 regression] ICE when brackets missing from member function call zak at transversal dot com
` (2 preceding siblings ...)
2004-09-20 16:38 ` reichelt at gcc dot gnu dot org
@ 2004-09-20 21:00 ` pinskia at gcc dot gnu dot org
2004-09-28 13:44 ` gdr at gcc dot gnu dot org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-20 21:00 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.3.6 |3.3.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17456
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/17456] [3.3 regression] ICE when brackets missing from member function call
2004-09-13 11:49 [Bug c++/17456] New: [3.3 regression] ICE when brackets missing from member function call zak at transversal dot com
` (3 preceding siblings ...)
2004-09-20 21:00 ` pinskia at gcc dot gnu dot org
@ 2004-09-28 13:44 ` gdr at gcc dot gnu dot org
2004-12-18 0:00 ` reichelt at gcc dot gnu dot org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: gdr at gcc dot gnu dot org @ 2004-09-28 13:44 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From gdr at gcc dot gnu dot org 2004-09-28 13:40 -------
Adjust milestone
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.3.5 |3.3.6
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17456
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/17456] [3.3 regression] ICE when brackets missing from member function call
2004-09-13 11:49 [Bug c++/17456] New: [3.3 regression] ICE when brackets missing from member function call zak at transversal dot com
` (4 preceding siblings ...)
2004-09-28 13:44 ` gdr at gcc dot gnu dot org
@ 2004-12-18 0:00 ` reichelt at gcc dot gnu dot org
2004-12-18 1:36 ` reichelt at gcc dot gnu dot org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-12-18 0:00 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-12-18 00:00 -------
Testing patch.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |reichelt at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17456
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/17456] [3.3 regression] ICE when brackets missing from member function call
2004-09-13 11:49 [Bug c++/17456] New: [3.3 regression] ICE when brackets missing from member function call zak at transversal dot com
` (5 preceding siblings ...)
2004-12-18 0:00 ` reichelt at gcc dot gnu dot org
@ 2004-12-18 1:36 ` reichelt at gcc dot gnu dot org
2004-12-18 20:26 ` [Bug c++/17456] [3.3 regression] ICE when parentheses are " cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-12-18 1:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-12-18 01:36 -------
Patch here:
http://gcc.gnu.org/ml/gcc-patches/2004-12/msg01329.html
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17456
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/17456] [3.3 regression] ICE when parentheses are missing from member function call
2004-09-13 11:49 [Bug c++/17456] New: [3.3 regression] ICE when brackets missing from member function call zak at transversal dot com
` (6 preceding siblings ...)
2004-12-18 1:36 ` reichelt at gcc dot gnu dot org
@ 2004-12-18 20:26 ` cvs-commit at gcc dot gnu dot org
2004-12-18 20:27 ` reichelt at gcc dot gnu dot org
2004-12-20 1:29 ` reichelt at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-12-18 20:26 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-12-18 20:26 -------
Subject: Bug 17456
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: reichelt@gcc.gnu.org 2004-12-18 20:26:11
Modified files:
gcc/cp : ChangeLog cvt.c
Log message:
PR c++/17456
* cvt.c (convert_to_void): Set expr to void_zero_node after
overload failure.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.3076.2.280&r2=1.3076.2.281
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cvt.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.126.2.4&r2=1.126.2.5
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17456
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/17456] [3.3 regression] ICE when parentheses are missing from member function call
2004-09-13 11:49 [Bug c++/17456] New: [3.3 regression] ICE when brackets missing from member function call zak at transversal dot com
` (7 preceding siblings ...)
2004-12-18 20:26 ` [Bug c++/17456] [3.3 regression] ICE when parentheses are " cvs-commit at gcc dot gnu dot org
@ 2004-12-18 20:27 ` reichelt at gcc dot gnu dot org
2004-12-20 1:29 ` reichelt at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-12-18 20:27 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-12-18 20:27 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17456
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/17456] [3.3 regression] ICE when parentheses are missing from member function call
2004-09-13 11:49 [Bug c++/17456] New: [3.3 regression] ICE when brackets missing from member function call zak at transversal dot com
` (8 preceding siblings ...)
2004-12-18 20:27 ` reichelt at gcc dot gnu dot org
@ 2004-12-20 1:29 ` reichelt at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-12-20 1:29 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-12-20 01:29 -------
*** Bug 11236 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |ariser at pilotomie dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17456
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2004-12-20 1:29 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-13 11:49 [Bug c++/17456] New: [3.3 regression] ICE when brackets missing from member function call zak at transversal dot com
2004-09-13 11:50 ` [Bug c++/17456] " zak at transversal dot com
2004-09-13 14:20 ` bangerth at dealii dot org
2004-09-20 16:38 ` reichelt at gcc dot gnu dot org
2004-09-20 21:00 ` pinskia at gcc dot gnu dot org
2004-09-28 13:44 ` gdr at gcc dot gnu dot org
2004-12-18 0:00 ` reichelt at gcc dot gnu dot org
2004-12-18 1:36 ` reichelt at gcc dot gnu dot org
2004-12-18 20:26 ` [Bug c++/17456] [3.3 regression] ICE when parentheses are " cvs-commit at gcc dot gnu dot org
2004-12-18 20:27 ` reichelt at gcc dot gnu dot org
2004-12-20 1:29 ` reichelt 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).