This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/85128] Local scope type(def) falsely assumed to change meaning of outer scope type(def)


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

--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Mainly this paragraph:
A name N used in a class S shall refer to the same declaration in its context
and when re-evaluated in the completed scope of S. ____No diagnostic is
required for a violation of this rule.____

Add __ to highlight that the C++ standard does not require a diagnostic for a
violation.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]