[Bug c++/19474] New: wrong tree for extern "C" variables
sstrasser at systemhaus-gruppe dot de
gcc-bugzilla@gcc.gnu.org
Sun Jan 16 23:15:00 GMT 2005
I don't know if this ever has an effect on an output of gcc(are C variable names
ever different from C++ ones?), but there are two different trees which should
be equal:
example1:
extern "C"{ extern int a; }
extern "C"{ int a; }
example2:
extern "C"{ extern int a; }
int a;
those should be equal I think, but "a" is not DECL_EXTERN_C_P for example2.
if "a" is a function it is DECL_EXTERN_C_P in both examples.
--
Summary: wrong tree for extern "C" variables
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sstrasser at systemhaus-gruppe dot de
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19474
More information about the Gcc-bugs
mailing list