Bug#696058: gfortran: [gfortran] incorrect logic in -O2 old-style loop

2012-12-17 Thread Matthias Klose
Am 16.12.2012 13:59, schrieb Kevin Mitchell: > Package: gfortran > Version: 4:4.7.2-1exp1 > Severity: normal > > Comparision logic fails between "wrapped around" integers inside an inverted > while loop hack. This occurs only on optimisation level 2 and if the > loop does not have an upper limit.

Bug#696058: gfortran: [gfortran] incorrect logic in -O2 old-style loop

2012-12-16 Thread Kevin Mitchell
Package: gfortran Version: 4:4.7.2-1exp1 Severity: normal Comparision logic fails between "wrapped around" integers inside an inverted while loop hack. This occurs only on optimisation level 2 and if the loop does not have an upper limit. I encountered this when trying to emperically check the in