[Bug c++/125634] typeid on glvalue with final class type does not evaluate the expression

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jun 6 19:05:37 GMT 2026


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

--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
Almost likely a dup of bug 114388. And maybe even the correct code for C++11. 
typeid is not exactly an unevaluated context but sometimes it is.


More information about the Gcc-bugs mailing list