[Bug c++/67576] [4.9/5/6 Regression] expression of typeid( expression ) is evaluated twice
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Nov 18 12:02:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67576
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed. .original contains
<<cleanup_point <<< Unknown tree: expr_stmt
if (ary[iter++ ] != 0B)
{
(void) (const struct type_info *) *(NON_LVALUE_EXPR <ary[iter++
]>->_vptr.Base + 18446744073709551608);
}
else
{
(void) __cxa_bad_typeid ();
} >>>>>;
More information about the Gcc-bugs
mailing list