diff options
author | Richard Stallman <rms@gnu.org> | 1993-03-18 21:31:09 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-03-18 21:31:09 +0000 |
commit | 0c9cfa6f4fcdb6c403de359fe354406acda454fe (patch) | |
tree | 870b13c915e946f03fe4856bfdcf15913a28e00a /gcc | |
parent | c95c47f3e966ecff92e01cadb023976220b2b29a (diff) | |
download | gcc-0c9cfa6f4fcdb6c403de359fe354406acda454fe.zip gcc-0c9cfa6f4fcdb6c403de359fe354406acda454fe.tar.gz gcc-0c9cfa6f4fcdb6c403de359fe354406acda454fe.tar.bz2 |
(digest_init): Handle COMPLEX_TYPE like other scalars.
From-SVN: r3779
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/c-typeck.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c index d5c251b..7070db9 100644 --- a/gcc/c-typeck.c +++ b/gcc/c-typeck.c @@ -4903,7 +4903,7 @@ digest_init (type, init, tail, require_constant, constructor_constant, ofwhat) /* Handle scalar types, including conversions. */ if (code == INTEGER_TYPE || code == REAL_TYPE || code == POINTER_TYPE - || code == ENUMERAL_TYPE) + || code == ENUMERAL_TYPE || code == COMPEX_TYPE) { if (raw_constructor) { |