re PR rtl-optimization/16180 (gcc crashes when optimization is turned on)
authorMark Mitchell <mark@codesourcery.com>
Tue, 24 Aug 2004 01:45:23 +0000 (01:45 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 24 Aug 2004 01:45:23 +0000 (01:45 +0000)
commita9b5a054c9f01420bb53f371cdc32ee622e12041
treec9d083c24be88a20dabd512ccffb4d44c044050a
parent2e6ae27f33e22dd7781dafd2e27f319489613372
re PR rtl-optimization/16180 (gcc crashes when optimization is turned on)

PR c/16180
* jump.c (duplicate_loop_exit_test): If the location reached by
the unconditional jump at the top of the loop is outside the loop,
then do not treat it as the exit test.

PR c/16180
* gcc.dg/loop-5.c: New test.

From-SVN: r86459
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/loop-5.c [new file with mode: 0644]