2013-03-22 Richard Biener <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Mar 2013 13:01:42 +0000 (13:01 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Mar 2013 13:01:42 +0000 (13:01 +0000)
* is-a.h (as_a): Use gcc_checking_assert.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196959 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/is-a.h

index 448db4f..618032b 100644 (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
index 8b7f9b3..b5ee854 100644 (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);
 }