[Bug c/33498] New: Optimizer (-O2) may convert a normal loop to infinite

2007-09-19 Thread dada1 at cosmosbay dot com
Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dada1 at cosmosbay dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33498

[Bug tree-optimization/33498] [4.2/4.3 Regression] Optimizer (-O2) may convert a normal loop to infinite

2007-09-20 Thread dada1 at cosmosbay dot com
--- Comment #10 from dada1 at cosmosbay dot com 2007-09-20 08:17 --- > > What happens is that ivopts decide to use val as the variable to use in the > exit compare; they compute what its final value will be (67305984), and > replace > the exit test by val != 67305984