------- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-08-08 08:00 ------- Confirmed, smaller testcase:
void abort (void); int main (void) { int j, a, b; for (j = 0; j < 2; j++) { a = j * j; b = a - 2 * j; } if (b != -1) abort (); return 0; } This bug fixed (or masked) on mainline by this patch: 2005-05-06 Zdenek Dvorak <[EMAIL PROTECTED]> PR tree-optimization/19401 * tree-flow.h (tree_unroll_loops_completely): Declaration changed. * tree-ssa-loop-ivcanon.c (enum unroll_level): New. ... -- What |Removed |Added ---------------------------------------------------------------------------- CC| |rakdver at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Ever Confirmed| |1 Known to fail|4.0.0 |4.0.0 4.0.1 4.0.2 Last reconfirmed|0000-00-00 00:00:00 |2005-08-08 08:00:14 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23282