[Bug tree-optimization/30730] -Wunsafe-loop-optimizations gives too many warnings

2007-07-10 Thread spop at gcc dot gnu dot org
--- Comment #4 from spop at gcc dot gnu dot org 2007-07-10 08:31 --- Fixed. -- spop at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/30730] -Wunsafe-loop-optimizations gives too many warnings

2007-03-13 Thread rakdver at gcc dot gnu dot org
--- Comment #3 from rakdver at gcc dot gnu dot org 2007-03-14 00:39 --- Subject: Bug 30730 Author: rakdver Date: Wed Mar 14 00:38:34 2007 New Revision: 122896 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122896 Log: PR tree-optimization/30730 PR tree-optimizati

[Bug tree-optimization/30730] -Wunsafe-loop-optimizations gives too many warnings

2007-02-08 Thread rakdver at gcc dot gnu dot org
--- Comment #2 from rakdver at gcc dot gnu dot org 2007-02-08 09:38 --- > Note that the warning is > emitted because we change n -= 2 to n += 4294967294 (oops). > this is because 2 is easily negatable and the canonical form in this case > is an addition. While we can fix that, No, you

[Bug tree-optimization/30730] -Wunsafe-loop-optimizations gives too many warnings

2007-02-08 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-02-08 09:34 --- Confirmed. The duplicate warnings are annoying. Note that the warning is emitted because we change n -= 2 to n += 4294967294 (oops). >From the .original tree dump: { goto ; :; n = n + 4294967294; :; if