aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-03-22 05:32:42 +0000
committerRichard Stallman <rms@gnu.org>1993-03-22 05:32:42 +0000
commit466e9220fd1aaf5e09257237b08f563a8ecd73ac (patch)
tree54fd06bb0cb29529719e38bcd49e7f9bf502361c
parent4acbcee06bb3e44bd35e2753d132ee591c29ee88 (diff)
downloadgcc-466e9220fd1aaf5e09257237b08f563a8ecd73ac.zip
gcc-466e9220fd1aaf5e09257237b08f563a8ecd73ac.tar.gz
gcc-466e9220fd1aaf5e09257237b08f563a8ecd73ac.tar.bz2
(initializer_constant_valid_p): Handle COMPLEX_CST.
From-SVN: r3820
-rw-r--r--gcc/c-typeck.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c
index e3fd889..314d91f 100644
--- a/gcc/c-typeck.c
+++ b/gcc/c-typeck.c
@@ -4305,6 +4305,7 @@ initializer_constant_valid_p (value, endtype)
case INTEGER_CST:
case REAL_CST:
case STRING_CST:
+ case COMPLEX_CST:
return null_pointer_node;
case ADDR_EXPR: