aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-operands.c
diff options
context:
space:
mode:
authorJoseph Myers <jsm@polyomino.org.uk>2004-07-25 10:12:21 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2004-07-25 10:12:21 +0100
commit197463ae905f0ce7c8dbeb298531a71855ac973e (patch)
tree679b0177e461b3f53a6306601674dd0b3935125b /gcc/tree-ssa-operands.c
parentb785f485ecfa4a4685e30b3385b701159726f4a3 (diff)
downloadgcc-197463ae905f0ce7c8dbeb298531a71855ac973e.zip
gcc-197463ae905f0ce7c8dbeb298531a71855ac973e.tar.gz
gcc-197463ae905f0ce7c8dbeb298531a71855ac973e.tar.bz2
c-typeck.c (digest_init): Don't allow arrays of signed or unsigned variants of wchar_t to be initialized...
* c-typeck.c (digest_init): Don't allow arrays of signed or unsigned variants of wchar_t to be initialized by wide string constants. Do allow arrays of enumerated types compatible with wchar_t to be initialized by wide string constants. Refine tests distinguishing wide and narrow strings and arrays. Give specific error for arrays of other integer types initialized by string constants. (output_init_element, process_init_element): Check for INTEGRAL_TYPE_P rather than just for INTEGER_TYPE when initializing with string constants. testsuite: * gcc.dg/init-string-2.c: New test. From-SVN: r85146
Diffstat (limited to 'gcc/tree-ssa-operands.c')
0 files changed, 0 insertions, 0 deletions