aboutsummaryrefslogtreecommitdiff
path: root/gcc/is-a.h
diff options
context:
space:
mode:
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);
}