re PR c/19977 (overflow in non-static initializer should not be pedwarn)
authorManuel López-Ibáñez <manu@gcc.gnu.org>
Tue, 2 Jan 2007 20:07:44 +0000 (20:07 +0000)
committerManuel López-Ibáñez <manu@gcc.gnu.org>
Tue, 2 Jan 2007 20:07:44 +0000 (20:07 +0000)
commitb405ac807c267bea1ac27db96cafb5ddf6d68a0b
tree7487dbc52405b1388776e71eaa3736b0fc7f6c34
parentbd94cb6ec8b9602ca60b47b37a1f39ace60018c7
re PR c/19977 (overflow in non-static initializer should not be pedwarn)

2007-01-02  Manuel Lopez-Ibanez <manu@gcc.gnu.org>

PR c/19977
* c-typeck.c (store_init_value): Don't emit pedantic overflow
warning for non-static initializers.

testsuite/
* gcc/testsuite/gcc.dg/overflow-warn-3.c: Remove XFAIL.
* gcc/testsuite/gcc.dg/overflow-warn-4.c: Remove XFAIL.

From-SVN: r120355
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/overflow-warn-3.c
gcc/testsuite/gcc.dg/overflow-warn-4.c