OSDN Git Service

2007-03-04 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 4 Mar 2007 23:29:41 +0000 (23:29 +0000)
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 4 Mar 2007 23:29:41 +0000 (23:29 +0000)
commite091380509b5c9e75c2c4f788d77890285e51b49
treeb5345e046ddd0c7cfef6c82973f5e694a3fbb99e
parentbec9a462463728a85319e711f6f947039da971a7
2007-03-04  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

PR other/30465
* c-common.c (convert_and_check): Don't give warnings for
conversion if 'expr' already overflowed.

testsuite/
* gcc.dg/multiple-overflow-warn-3.c: New.
* g++.dg/warn/multiple-overflow-warn-3.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122534 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/multiple-overflow-warn-3.C [new file with mode: 0644]
gcc/testsuite/gcc.dg/multiple-overflow-warn-3.c [new file with mode: 0644]