This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/85128] Local scope type(def) falsely assumed to change meaning of outer scope type(def)
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 31 Mar 2018 17:50:24 +0000
- Subject: [Bug c++/85128] Local scope type(def) falsely assumed to change meaning of outer scope type(def)
- Auto-submitted: auto-generated
- References: <bug-85128-4@http.gcc.gnu.org/bugzilla/>
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.