[Bug c++/25466] typeid expression fails to throw bad_typeid according to 5.2.8p2

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Thu Oct 18 10:26:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25466

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|gcc-bugs at gcc dot gnu.org |
      Known to fail|                            |

--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-10-18 10:26:39 UTC ---
Here we should finally spend a bit of time extending build_typeid to handle
more than INDIRECT_REF: in this case we have a COMPOUND_EXPR, which would be
easy to handle, but we can also have nested COMPOUND_EXPRs... what else?



More information about the Gcc-bugs mailing list