[Bug c++/27592] [4.2 Regression] dynamic cast failure

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun May 21 00:19:00 GMT 2006



------- Comment #6 from pinskia at gcc dot gnu dot org  2006-05-21 00:19 -------
This is a front-end issue:
if (SAVE_EXPR <__dynamic_cast ((struct AD.1975 *) SAVE_EXPR <(struct AD.1975 &)
NON_LVALUE_EXPR <aD.2037>>, &_ZTI1AD.1992, &_ZTI1BD.2033, 0)>)
....

So what does the middle-end expect when it casts it to bool.  Anyways this is
most likely a simple fix when building the dynamic cast trees.


-- 


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



More information about the Gcc-bugs mailing list