diff options
author | Joseph Myers <joseph@codesourcery.com> | 2009-04-24 18:24:32 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2009-04-24 18:24:32 +0100 |
commit | 2b6da65c33c24de56b95b42c5dd2c771c425ef7c (patch) | |
tree | a6300e7d88299fc54fd9ad19a6c84f9e22ccfa43 /gcc/tree-vrp.c | |
parent | bda61b12c2309d715e418754a0912bb75b5f1323 (diff) | |
download | gcc-2b6da65c33c24de56b95b42c5dd2c771c425ef7c.zip gcc-2b6da65c33c24de56b95b42c5dd2c771c425ef7c.tar.gz gcc-2b6da65c33c24de56b95b42c5dd2c771c425ef7c.tar.bz2 |
c-typeck.c (set_init_index): Allow array designators that are not integer constant expressions with a...
* c-typeck.c (set_init_index): Allow array designators that are
not integer constant expressions with a pedwarn if pedantic.
testsuite:
* gcc.dg/array-const-1.c, gcc.dg/array-const-2.c,
gcc.dg/array-const-3.c: New tests.
From-SVN: r146741
Diffstat (limited to 'gcc/tree-vrp.c')
0 files changed, 0 insertions, 0 deletions