Committed as obvious. Richard.
2013-03-22 Richard Biener <rguent...@suse.de> * is-a.h (as_a): Use gcc_checking_assert. Index: gcc/is-a.h =================================================================== --- gcc/is-a.h (revision 196955) +++ gcc/is-a.h (working copy) @@ -181,7 +181,7 @@ template <typename T, typename U> inline T * as_a (U *p) { - gcc_assert (is_a <T> (p)); + gcc_checking_assert (is_a <T> (p)); return is_a_helper <T>::cast (p); }