This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]