------- Comment #3 from jakub at gcc dot gnu dot org 2010-02-19 12:35 ------- I've tried --- gcc/lambda-code.c.jj 2009-11-25 16:47:37.000000000 +0100 +++ gcc/lambda-code.c 2010-02-17 15:00:40.000000000 +0100 @@ -1885,7 +1885,8 @@ not_interesting_stmt (gimple stmt) loop, we would have already failed the number of exits tests. */ if (gimple_code (stmt) == GIMPLE_LABEL || gimple_code (stmt) == GIMPLE_GOTO - || gimple_code (stmt) == GIMPLE_COND) + || gimple_code (stmt) == GIMPLE_COND + || is_gimple_debug (stmt)) return true; return false; } and while it is sufficient for this testcase, it is not sufficient say for gfortran.dg/ltrans-7.f90 with --target_board=unix/-fcompare-debug/-ftree-loop-linear and a bunch of other testcases, that no longer die on -fcompare-debug failures, but with checking ICEs.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42917