http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60600
Martin Jambor <jamborm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |http://gcc.gnu.org/ml/gcc-p | |atches/2014-03/msg01363.htm | |l --- Comment #7 from Martin Jambor <jamborm at gcc dot gnu.org> --- (In reply to lucdanton from comment #5) > I must apologise for the peculiar testcase I produced. No need to apologize, I should have thought the downcast was originally performed after a check. The testcase is in fact very nice. And of course, gcc should not ICE even if you feed it undefined or even invalid input. The patch I am going to commit is at: http://gcc.gnu.org/ml/gcc-patches/2014-03/msg01363.html