]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c/c-typeck.c
(push_init_level): For braces around scalar, just warn.
authorRichard Stallman <rms@gnu.org>
Fri, 30 Jul 1993 06:52:04 +0000 (06:52 +0000)
committerRichard Stallman <rms@gnu.org>
Fri, 30 Jul 1993 06:52:04 +0000 (06:52 +0000)
commit790e949032a94bc90fc4fcf79b31c8c14850dcb1
treeb24f6edee9d586f84b705e22650da55ae18c9a24
parent6d7512e47340cf0451ca674ed78b45375d579163
(push_init_level): For braces around scalar, just warn.

(process_init_element): Special handling for {"foo"}.
(struct constructor_stack): New field `replacement_value'.
(push_init_level, really_start_incremental_init): Clear new field.
(pop_init_level): Return the replacement_value if any.
At top level in initializer, output that value,
and set the array size from it.

(digest_init): Delete arg TAIL.  Fix all calls.

(convert_for_assignment): Mismatch in signedness
of pointer targets should not inhibit warnings for const mismatch.

From-SVN: r5042
gcc/c-typeck.c