public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/27423]  New: Default argument for void parameter accepted
@ 2006-05-04 15:16 reichelt at gcc dot gnu dot org
  2006-05-05  0:29 ` [Bug c++/27423] ICE on default argument for void parameter reichelt at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-05-04 15:16 UTC (permalink / raw)
  To: gcc-bugs

The C++ frontend accepts the following invalid code snippet since at least
GCC 2.95.3:

==============================
void foo(void = 0);
void bar() { foo(); }
==============================


-- 
           Summary: Default argument for void parameter accepted
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: accepts-invalid, 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=27423


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-05-15 19:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-04 15:16 [Bug c++/27423] New: Default argument for void parameter accepted reichelt at gcc dot gnu dot org
2006-05-05  0:29 ` [Bug c++/27423] ICE on default argument for void parameter reichelt at gcc dot gnu dot org
2006-05-05  0:42 ` reichelt at gcc dot gnu dot org
2006-05-05  7:23 ` pinskia at gcc dot gnu dot org
2006-05-05 20:05 ` patchapp at dberlin dot org
2006-05-06  0:32 ` reichelt at gcc dot gnu dot org
2006-05-06  0:36 ` reichelt at gcc dot gnu dot org
2006-05-15 19:34 ` patchapp at dberlin 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).