2013-07-04  Joern Rennecke <joern.rennecke@embecosm.com>
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.
Back out ths patch:

        * gcc.dg/pr41963.c [avr-*-*] (dg-options): Add -lm.