This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/26151] New: [3.4/4.0/4.1/4.2 regression] duplicate 'duplicate' diagnostic


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]