c-pch.c
13.5 KB
-
c-pch.c (get_ident): Don't set size of templ array. · 5eb4df45
./: * 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
Ian Lance Taylor committed