public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/13717] New: duplicated parameter name not caught ?
@ 2004-01-17 11:28 d dot binderman at virgin dot net
  2004-01-17 12:17 ` Joseph S. Myers
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: d dot binderman at virgin dot net @ 2004-01-17 11:28 UTC (permalink / raw)
  To: gcc-bugs

The one liner

void f( int fred, char * fred);

is IMHO illegal code because fred is the name of two parameters.

I couldn't get gcc332 to find the bug in this code.
This is salted down from real code in Fedora Core 1.

-- 
           Summary: duplicated parameter name not caught ?
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: d dot binderman at virgin dot net
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: linux-i386


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13717


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

end of thread, other threads:[~2004-10-04 12:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-17 11:28 [Bug c++/13717] New: duplicated parameter name not caught ? d dot binderman at virgin dot net
2004-01-17 12:17 ` Joseph S. Myers
2004-01-17 21:20   ` Andrew Pinski
2004-01-18  2:12     ` Zack Weinberg
2004-01-17 23:35 ` Gabriel Dos Reis
2004-01-18  9:20 ` [Bug c++/13717] " dhazeghi at yahoo dot com
2004-10-03 19:52 ` pinskia at gcc dot gnu dot org
2004-10-04 12:45 ` bangerth at dealii 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).