diff options
author | Bernd Schmidt <bernds@cygnus.co.uk> | 1999-11-29 10:51:09 +0000 |
---|---|---|
committer | Bernd Schmidt <crux@gcc.gnu.org> | 1999-11-29 10:51:09 +0000 |
commit | 311fe27c71628f8d246b23084f5ce2168912215e (patch) | |
tree | f08204689c9adc2076a0256c4af56c7c2c60a5c0 /gcc/unroll.c | |
parent | 83c23b6c72aaf1554c0cf2b138ae04c018ec5c94 (diff) | |
download | gcc-311fe27c71628f8d246b23084f5ce2168912215e.zip gcc-311fe27c71628f8d246b23084f5ce2168912215e.tar.gz gcc-311fe27c71628f8d246b23084f5ce2168912215e.tar.bz2 |
Fix abort in loop_iterations
From-SVN: r30698
Diffstat (limited to 'gcc/unroll.c')
-rw-r--r-- | gcc/unroll.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/unroll.c b/gcc/unroll.c index 3994e79..94451e1 100644 --- a/gcc/unroll.c +++ b/gcc/unroll.c @@ -3687,11 +3687,9 @@ loop_iterations (loop_start, loop_end, loop_info) return 0; } - /* The only new registers that care created before loop iterations are - givs made from biv increments, so this should never occur. */ - + /* This can happen due to optimization in load_mems. */ if ((unsigned) REGNO (iteration_var) >= reg_iv_type->num_elements) - abort (); + return 0; iteration_info (iteration_var, &initial_value, &increment, loop_start, loop_end); |