[Bug c++/19474] wrong tree for extern "C" variables

2005-01-30 Thread sstrasser at systemhaus-gruppe dot de
--- Additional Comments From sstrasser at systemhaus-gruppe dot de 2005-01-31 07:48 --- I think I was wrong, this is a bug _and_ has effects on compilation: in example2(see above) int a is not extern "C" in the tree, AND it is C++ mangled in compiler output! std 7.5.7 states that a onc

[Bug c++/19474] wrong tree for extern "C" variables

2005-01-23 Thread mueller at kde dot org
-- What|Removed |Added CC||mueller at kde dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19474

[Bug c++/19474] wrong tree for extern "C" variables

2005-01-16 Thread schlie at comcast dot net
--- Additional Comments From schlie at comcast dot net 2005-01-17 01:35 --- (In reply to comment #3) Or might it be nearly just as easy to place all in the same tree initially, and eliminate the potential ambiguity now that it's been identified? -- http://gcc.gnu.org/bugzilla/show

[Bug c++/19474] wrong tree for extern "C" variables

2005-01-16 Thread sstrasser at systemhaus-gruppe dot de
--- Additional Comments From sstrasser at systemhaus-gruppe dot de 2005-01-16 23:55 --- I totally agree that this is not important. I just don't know gcc good enough to forecast the possible effects of that minor bug so I thought it'd be interesting. please close the bug if you are sure

[Bug c++/19474] wrong tree for extern "C" variables

2005-01-16 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-16 23:44 --- Also the only use of DECL_EXTERN_C_P for variable decls is when mangling (this is unlike functions). So what are you trying to do here? I would suspect there is a bug, but a very latent bug which does not

[Bug c++/19474] wrong tree for extern "C" variables

2005-01-16 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-16 23:40 --- I don't know if there is a bug here or not. But note normal variables in the global namespace are not mangled either. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19474