* tree.c (build1): Check for null operand in last change.
From-SVN: r39587
This commit is contained in:
parent
48dbafe4a9
commit
258835c78b
@ -1,3 +1,7 @@
|
||||
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.
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user