Commit 258835c7 by Richard Henderson Committed by Richard Henderson

* tree.c (build1): Check for null operand in last change.

From-SVN: r39587
parent 48dbafe4
2001-02-11 Richard Henderson <rth@redhat.com>
* tree.c (build1): Check for null operand in last change.
2001-02-11 Richard Henderson <rth@redhat.com>
* fold-const.c (split_tree): Don't assume a constant isn't splittable.
(fold): Don't assume a constant isn't foldable.
* tree.c (build): Set TREE_CONSTANT for an expression with no
......
......@@ -2482,7 +2482,7 @@ build1 (code, type, node)
break;
default:
if (TREE_CODE_CLASS (code) == '1' && TREE_CONSTANT (node))
if (TREE_CODE_CLASS (code) == '1' && node && TREE_CONSTANT (node))
TREE_CONSTANT (t) = 1;
break;
}
......
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