This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/23156] New: Fails valid? (valid according to Comeau anyway)
- From: "igodard at pacbell dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Jul 2005 05:37:01 -0000
- Subject: [Bug c++/23156] New: Fails valid? (valid according to Comeau anyway)
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
typedef int A;
struct foo{
A A;
};
compiles in 3.4.0 and on Comeau, but on 3.4.2 you get:
changedMeaning.cc:3: error: declaration of `A foo::A'
changedMeaning.cc:1: error: changes meaning of `A' from `typedef int A'
So who's right, you or EDG?
Ivan
--
Summary: Fails valid? (valid according to Comeau anyway)
Product: gcc
Version: 3.4.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: igodard at pacbell dot net
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23156