+2000-02-29 Mark Mitchell <mark@codesourcery.com>
+
+ * fold-const.c (size_binop): Don't asert inputs are the same and
+ have TYPE_IS_SIZETYPE set.
+ (size_diffop): Likewise.
+
2000-02-29 Jason Merrill <jason@casey.cygnus.com>
* dwarfout.c (output_block): Output abstract blocks even if they
{
tree type = TREE_TYPE (arg0);
- if (type != TREE_TYPE (arg1)
- || TREE_CODE (type) != INTEGER_TYPE || ! TYPE_IS_SIZETYPE (type))
+ if (TREE_CODE (type) != INTEGER_TYPE
+ || TREE_CODE (TREE_TYPE (arg1)) != INTEGER_TYPE)
abort ();
/* Handle the special case of two integer constants faster. */
tree type = TREE_TYPE (arg0);
tree ctype;
- if (TREE_TYPE (arg1) != type || TREE_CODE (type) != INTEGER_TYPE
- || ! TYPE_IS_SIZETYPE (type))
+ if (TREE_CODE (type) != INTEGER_TYPE
+ || TREE_CODE (TREE_TYPE (arg1)) != INTEGER_TYPE)
abort ();
/* If the type is already signed, just do the simple thing. */