public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/17879] New: Erroneous ambiguity resolution for parameter declarations
@ 2004-10-07 9:27 heinlein at informatik dot uni-ulm dot de
2004-10-07 12:22 ` [Bug c++/17879] " pinskia at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: heinlein at informatik dot uni-ulm dot de @ 2004-10-07 9:27 UTC (permalink / raw)
To: gcc-bugs
According to the Standard, Sec. 8.2, Par. 7,
f should be of type "void (*) (int (*) (C))",
not "void (*) (int)", as the compiler assumes:
class C {};
void f (int(C)) {}
--
Summary: Erroneous ambiguity resolution for parameter
declarations
Product: gcc
Version: 3.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: heinlein at informatik dot uni-ulm dot de
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17879
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/17879] Erroneous ambiguity resolution for parameter declarations
2004-10-07 9:27 [Bug c++/17879] New: Erroneous ambiguity resolution for parameter declarations heinlein at informatik dot uni-ulm dot de
@ 2004-10-07 12:22 ` pinskia at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-07 12:22 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-07 12:21 -------
Fixed in 3.4.0.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Keywords| |wrong-code
Known to work| |3.4.0 4.0.0
Resolution| |FIXED
Target Milestone|--- |3.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17879
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-10-07 12:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-07 9:27 [Bug c++/17879] New: Erroneous ambiguity resolution for parameter declarations heinlein at informatik dot uni-ulm dot de
2004-10-07 12:22 ` [Bug c++/17879] " 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).