is-a.h (as_a): Use gcc_checking_assert.

2013-03-22  Richard Biener  <rguenther@suse.de>

	* is-a.h (as_a): Use gcc_checking_assert.

From-SVN: r196959
This commit is contained in:
Richard Biener 2013-03-22 13:01:42 +00:00 committed by Richard Biener
parent a05c0ddfb2
commit f046e81b86
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2013-03-22 Richard Biener <rguenther@suse.de>
* is-a.h (as_a): Use gcc_checking_assert.
2013-03-22 Ian Bolton <ian.bolton@arm.com>
* config/aarch64/aarch64.c (aarch64_print_operand): New

View File

@ -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);
}