[Bug c++/106377] A injected-class-name with class/struct key of a private class is not accessible in the member of the derived class.
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Aug 9 02:08:57 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106377
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=29040
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I suspect this is the same issue as PR 29040. see bug 29040 comment #2 which
describes basically the same thing I found.
Note ICC warns about this code being done for compability reasons with cfront
too (basically the long history of GCC and even pre-standard C++ has left some
things like this around).
More information about the Gcc-bugs
mailing list