Commit f046e81b by Richard Biener Committed by Richard Biener

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
parent a05c0ddf
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> 2013-03-22 Ian Bolton <ian.bolton@arm.com>
* config/aarch64/aarch64.c (aarch64_print_operand): New * config/aarch64/aarch64.c (aarch64_print_operand): New
......
...@@ -181,7 +181,7 @@ template <typename T, typename U> ...@@ -181,7 +181,7 @@ template <typename T, typename U>
inline T * inline T *
as_a (U *p) as_a (U *p)
{ {
gcc_assert (is_a <T> (p)); gcc_checking_assert (is_a <T> (p));
return is_a_helper <T>::cast (p); return is_a_helper <T>::cast (p);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment