[Bug c/19978] overflow in expression of constants should not cause multiple warnings

2007-01-06 Thread manu at gcc dot gnu dot org
--- Comment #7 from manu at gcc dot gnu dot org 2007-01-06 09:34 --- Fixed in mainline. -- manu at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/19978] overflow in expression of constants should not cause multiple warnings

2007-01-06 Thread schlie at comcast dot net
--- Comment #8 from schlie at comcast dot net 2007-01-06 15:04 --- It seems that an overflow warning should be generated if an overflowed value is utilized or results from an expression evaluation between sequence ponts? Thereby: x = INT_MAX + 2 - 2 ; // warning x may overflow. z = (y

[Bug c/19978] overflow in expression of constants should not cause multiple warnings

2007-01-05 Thread manu at gcc dot gnu dot org
--- Comment #6 from manu at gcc dot gnu dot org 2007-01-05 21:57 --- Subject: Bug 19978 Author: manu Date: Fri Jan 5 21:57:01 2007 New Revision: 120505 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=120505 Log: 2007-01-05 Manuel Lopez-Ibanez [EMAIL PROTECTED] PR

[Bug c/19978] overflow in expression of constants should not cause multiple warnings

2006-12-08 Thread patchapp at dberlin dot org
--- Comment #5 from patchapp at dberlin dot org 2006-12-09 01:10 --- Subject: Bug number PR c/19978 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-12/msg00588.html --

[Bug c/19978] overflow in expression of constants should not cause multiple warnings

2006-11-26 Thread manu at gcc dot gnu dot org
--- Comment #4 from manu at gcc dot gnu dot org 2006-11-26 19:27 --- (In reply to comment #3) (In reply to comment #2) The problem is that we reset TREE_OVERFLOW: It would seem it overflows incremented, and underflow's decremented, only a terminal non-zero count would represent

[Bug c/19978] overflow in expression of constants should not cause multiple warnings

2005-02-17 Thread schlie at comcast dot net
--- Additional Comments From schlie at comcast dot net 2005-02-17 23:37 --- (In reply to comment #2) The problem is that we reset TREE_OVERFLOW: It would seem it overflows incremented, and underflow's decremented, only a terminal non-zero count would represent an over/underflow for

[Bug c/19978] overflow in expression of constants should not cause multiple warnings

2005-02-16 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-17 05:09 --- The problem is that we reset TREE_OVERFLOW: if ((TREE_CODE (value) == INTEGER_CST || (TREE_CODE (value) == COMPLEX_CST TREE_CODE (TREE_REALPART (value)) == INTEGER_CST))

[Bug c/19978] overflow in expression of constants should not cause multiple warnings

2005-02-15 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-15 21:20 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW