C++ bug fixers: This may be low hanging fruit
Gabriel Dos Reis
gdr@integrable-solutions.net
Fri Nov 1 09:16:00 GMT 2002
Wolfgang Bangerth <bangerth@ticam.utexas.edu> writes:
| I bet that this is actually something you may want to do if you have 5
| minutes left before your bus leaves :-) c++/2708 is about accepting
| struct A {};
| namespace A {};
I looked at this particular bug several times in the past. Basically,
it seems to come from the fact that the whole cp/decl{, 2}.c where
copied from the C-front-end with no appropriate ajustement when C++
was extended with the notion of namespace -- actually, the Unique Name
definition rule seems to be violated in several parts of the compiler.
(xref() and xref_tag() at least ought to be adjusted).
At that time, I couldn't come up with a non "disturbing" patch.
If this is a release-blocking issue I would propose to downgrade it to
medium (as the core issue is spread over the compiler, the above PR is
just a symptome) and have it fixed in 3.4. Jason, Mark?
-- Gaby
More information about the Gcc-bugs
mailing list