https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92170

--- Comment #7 from Austin Morton <austinpmorton at gmail dot com> ---
As I said, the code made no sense to me in the context of C/C++ qualified names
- the comment didn't clarify that this bit of code was concerned with Ada
qualified names.

Printing the fully qualified name is exactly what my patch does (although
obviously it doesn't remove the disabled code).

For C/C++ this change would be non-breaking since in all cases the output was
either correct and fully qualified already, or just outright broken.

For Ada this would presumably be a breaking change? Hence why I suggested
making a language hook to specify the behavior per-language.

Maybe a breaking change here is not something you are concerned with, in which
case it would definitely be simpler to just unconditionally print the fully
qualified name.

Reply via email to