c-typeck.c
331 KB
-
re PR c/57821 ('array is too large' error is missing when sizetype overflows) · 40d3d530
gcc/c: PR c/57821 * c-typeck.c (set_init_index): When folding, check for index overflow. gcc/c-family: PR c/57821 * c-common.c (complete_array_type): Delay folding first index like other indices. When folding, check for index overflow. gcc/testsuite: PR c/57821 * gcc.dg/large-size-array-6.c: New test. From-SVN: r200683
Joern Rennecke committed