This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/19978] overflow in expression of constants should not cause multiple warnings
- From: "schlie at comcast dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Feb 2005 23:37:39 -0000
- Subject: [Bug c/19978] overflow in expression of constants should not cause multiple warnings
- References: <20050215184826.19978.jsm28@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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
addition/subtraction, (as an intermediate over/underflow is not observable)?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19978