From 5168dcfc4419b301b0b083738a158b52cf32593e Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Mon, 15 Sep 1997 23:35:18 +0000 Subject: [PATCH] * call.c (null_ptr_cst_p): Integer type, not integral type. From-SVN: r15463 --- gcc/cp/ChangeLog | 2 ++ gcc/cp/call.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 11b4885eea7..82cd0b6d1d9 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,7 @@ Mon Sep 15 11:52:13 1997 Jason Merrill + * call.c (null_ptr_cst_p): Integer type, not integral type. + * call.c (joust): Disable warnings until they can be moved to the right place. diff --git a/gcc/cp/call.c b/gcc/cp/call.c index c0152fbdf68..af1f6af0be8 100644 --- a/gcc/cp/call.c +++ b/gcc/cp/call.c @@ -2999,7 +2999,7 @@ null_ptr_cst_p (t) tree t; { if (t == null_node - || integer_zerop (t) && INTEGRAL_TYPE_P (TREE_TYPE (t))) + || integer_zerop (t) && TREE_CODE (TREE_TYPE (t)) == INTEGER_TYPE) return 1; return 0; } -- 2.30.2