summaryrefslogtreecommitdiff
path: root/gcc/is-a.h
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2013-03-22 13:01:42 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2013-03-22 13:01:42 +0000
commitcd828e36f02656c03abd85b839a817f938df0e3f (patch)
treeea26ddc1b85f8b0d71e0b4ebfbb5abc1358eb247 /gcc/is-a.h
parentc6ed7a1abeee201bf838edbd676fcd504d2b0bad (diff)
downloadgcc-cd828e36f02656c03abd85b839a817f938df0e3f.tar.gz
2013-03-22 Richard Biener <rguenther@suse.de>
* 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
Diffstat (limited to 'gcc/is-a.h')
-rw-r--r--gcc/is-a.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/is-a.h b/gcc/is-a.h
index 8b7f9b34dde..b5ee8543abe 100644
--- a/gcc/is-a.h
+++ b/gcc/is-a.h
@@ -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);
}