Commit 5168dcfc by Jason Merrill Committed by Jason Merrill

* call.c (null_ptr_cst_p): Integer type, not integral type.

From-SVN: r15463
parent 4bb43724
Mon Sep 15 11:52:13 1997 Jason Merrill <jason@yorick.cygnus.com> Mon Sep 15 11:52:13 1997 Jason Merrill <jason@yorick.cygnus.com>
* call.c (null_ptr_cst_p): Integer type, not integral type.
* call.c (joust): Disable warnings until they can be moved to the * call.c (joust): Disable warnings until they can be moved to the
right place. right place.
......
...@@ -2999,7 +2999,7 @@ null_ptr_cst_p (t) ...@@ -2999,7 +2999,7 @@ null_ptr_cst_p (t)
tree t; tree t;
{ {
if (t == null_node 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 1;
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment