summaryrefslogtreecommitdiff
path: root/gcc/tree-complex.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-complex.c')
-rw-r--r--gcc/tree-complex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree-complex.c b/gcc/tree-complex.c
index ea0eafc8172..693c8c99347 100644
--- a/gcc/tree-complex.c
+++ b/gcc/tree-complex.c
@@ -96,6 +96,8 @@ some_nonzerop (tree t)
if (TREE_CODE (t) == REAL_CST)
zerop = REAL_VALUES_IDENTICAL (TREE_REAL_CST (t), dconst0);
+ else if (TREE_CODE (t) == FIXED_CST)
+ zerop = fixed_zerop (t);
else if (TREE_CODE (t) == INTEGER_CST)
zerop = integer_zerop (t);