public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/26151]  New: [3.4/4.0/4.1/4.2 regression] duplicate 'duplicate' diagnostic
@ 2006-02-07  9:52 reichelt at gcc dot gnu dot org
  2006-02-07  9:56 ` [Bug c++/26151] " reichelt at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-02-07  9:52 UTC (permalink / raw)
  To: gcc-bugs

GCC produces a duplicate 'duplicate' diagnostic ;-) since GCC 3.4.0
for the following testcase:

  struct A
  {
    friend friend void foo();
  };

bug.cc:3: error: duplicate 'friend'
bug.cc:3: error: duplicate 'friend'

I'll post a patch soon.


-- 
           Summary: [3.4/4.0/4.1/4.2 regression] duplicate 'duplicate'
                    diagnostic
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: diagnostic, 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=26151


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

end of thread, other threads:[~2006-02-14 19:59 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-07  9:52 [Bug c++/26151] New: [3.4/4.0/4.1/4.2 regression] duplicate 'duplicate' diagnostic reichelt at gcc dot gnu dot org
2006-02-07  9:56 ` [Bug c++/26151] " reichelt at gcc dot gnu dot org
2006-02-07 14:07 ` pinskia at gcc dot gnu dot org
2006-02-13 10:29 ` reichelt at gcc dot gnu dot org
2006-02-13 10:33 ` [Bug c++/26151] [3.4/4.0/4.1 " reichelt at gcc dot gnu dot org
2006-02-14  9:02 ` mmitchel at gcc dot gnu dot org
2006-02-14 16:08 ` reichelt at gcc dot gnu dot org
2006-02-14 16:12 ` reichelt at gcc dot gnu dot org
2006-02-14 16:14 ` [Bug c++/26151] [3.4 " reichelt at gcc dot gnu dot org
2006-02-14 19:59 ` 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).