|
From: | Robert Dewar |
Subject: | Re: GCC optimizes integer overflow: bug or feature? |
Date: | Tue, 19 Dec 2006 21:17:45 -0500 |
User-agent: | Thunderbird 1.5.0.8 (Windows/20061025) |
Richard B. Kreckel wrote:
By the same token it would be wise to refrain from turning on any optimization that breaks programs which depend on wrapping signed integers. Silently breaking LIA-1 semantics is imprudent.
I am not so sure about that conclusion, which I why I would like to see more data. It maybe that the loop induction optimization *is* significant, and you must admit it is really really hard to imagine real world code that depends on wrapping in this context.
[Prev in Thread] | Current Thread | [Next in Thread] |