Commit cce097f1 by Jason Merrill Committed by Jason Merrill

* i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.

From-SVN: r32450
parent fb13d4d0
2000-03-09 Jason Merrill <jason@casey.cygnus.com>
* i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
* except.c (can_throw): See through a SEQUENCE.
(nothrow_function_p): New fn.
* except.h: Declare it.
......
......@@ -737,9 +737,7 @@ ix86_valid_type_attribute_p (type, attributes, identifier, args)
if (TREE_CODE (cst) != INTEGER_CST)
return 0;
if (TREE_INT_CST_HIGH (cst) != 0
|| TREE_INT_CST_LOW (cst) < 0
|| TREE_INT_CST_LOW (cst) > REGPARM_MAX)
if (compare_tree_int (cst, REGPARM_MAX) > 0)
return 0;
return 1;
......
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