OSDN Git Service

PR c/16180
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 24 Aug 2004 01:45:23 +0000 (01:45 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 24 Aug 2004 01:45:23 +0000 (01:45 +0000)
commitcc45659ec9ac19eb43bfd471340024687c9688e1
treec9d083c24be88a20dabd512ccffb4d44c044050a
parenta133d57d18303cc30ec4b3dab36689d40bc33ce0
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86459 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/loop-5.c [new file with mode: 0644]