diff options
Diffstat (limited to 'gcc/ch/expr.c')
-rw-r--r-- | gcc/ch/expr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ch/expr.c b/gcc/ch/expr.c index acc1bc7ec04..0825ce6d595 100644 --- a/gcc/ch/expr.c +++ b/gcc/ch/expr.c @@ -1372,7 +1372,8 @@ build_chill_card (powerset) { int size; /* Do constant folding, if possible. */ - if (TREE_CODE (powerset) == CONSTRUCTOR & TREE_CONSTANT (powerset) + if (TREE_CODE (powerset) == CONSTRUCTOR + && TREE_CONSTANT (powerset) && (size = int_size_in_bytes (TREE_TYPE (powerset))) >= 0) { int bit_size = size * BITS_PER_UNIT; |