diff options
author | Ian Lance Taylor <iant@google.com> | 2009-06-17 13:21:23 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2009-06-17 13:21:23 +0000 |
commit | 5eb4df45ce442bdb807cc674e45dbc31fdf3d4ba (patch) | |
tree | a18365a2a12b66e43938e6451b9ef906434cd866 /gcc/expr.c | |
parent | 6958c7802c3e7e62f3f56a0b0319beed6879d7e8 (diff) | |
download | gcc-5eb4df45ce442bdb807cc674e45dbc31fdf3d4ba.zip gcc-5eb4df45ce442bdb807cc674e45dbc31fdf3d4ba.tar.gz gcc-5eb4df45ce442bdb807cc674e45dbc31fdf3d4ba.tar.bz2 |
c-pch.c (get_ident): Don't set size of templ array.
./: * c-pch.c (get_ident): Don't set size of templ array.
(pch_init): Don't set size of partial_pch array.
* c-typeck.c (digest_init): If -Wc++-compat, warn about using a
string constant to intialize an array whose size is the length of
the string.
testsuite/:
* gcc.dg/Wcxx-compat-14.c: New testcase.
From-SVN: r148611
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions