This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/26151] New: [3.4/4.0/4.1/4.2 regression] duplicate 'duplicate' diagnostic
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Feb 2006 09:52:17 -0000
- Subject: [Bug c++/26151] New: [3.4/4.0/4.1/4.2 regression] duplicate 'duplicate' diagnostic
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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