This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/25466] typeid expression fails to throw bad_typeid according to 5.2.8p2
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 18 Oct 2012 10:26:39 +0000
- Subject: [Bug c++/25466] typeid expression fails to throw bad_typeid according to 5.2.8p2
- Auto-submitted: auto-generated
- References: <bug-25466-4@http.gcc.gnu.org/bugzilla/>
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?