aboutsummaryrefslogtreecommitdiff
path: root/gcc/is-a.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2013-03-22 13:01:42 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2013-03-22 13:01:42 +0000
commitf046e81b8609ffc8e1a4fcd34699cff6b3f2937d (patch)
treeea26ddc1b85f8b0d71e0b4ebfbb5abc1358eb247 /gcc/is-a.h
parenta05c0ddfb270408a9eda9572dbfd83b1767570f3 (diff)
downloadgcc-f046e81b8609ffc8e1a4fcd34699cff6b3f2937d.zip
gcc-f046e81b8609ffc8e1a4fcd34699cff6b3f2937d.tar.gz
gcc-f046e81b8609ffc8e1a4fcd34699cff6b3f2937d.tar.bz2
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
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 8b7f9b3..b5ee854 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);
}