2007-01-02 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
commitd6f5f982f614172cc4d23c8372a4eb4b8266d18b
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Jan 2007 20:07:44 +0000 (2 20:07 +0000)
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Jan 2007 20:07:44 +0000 (2 20:07 +0000)
tree7487dbc52405b1388776e71eaa3736b0fc7f6c34
parent24153880bd9e4f7f7cf825cebc8b476c32717ba0
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120355 138bc75d-0d04-0410-961f-82ee72b054a4
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