From: Mark Mitchell Date: Thu, 19 Apr 2001 02:15:46 +0000 (+0000) Subject: loop.c (load_mems): Examine all the instructions in the loop before concluding that... X-Git-Tag: prereleases/libstdc++-3.0.95~4867 X-Git-Url: https://gcc.gnu.org/git/?a=commitdiff_plain;h=17e2b3cb0486f4e1aedb8f0bb0d451a8e20c17fe;p=gcc.git loop.c (load_mems): Examine all the instructions in the loop before concluding that all jumps... * loop.c (load_mems): Examine all the instructions in the loop before concluding that all jumps branch to the first instruction after the loop. From-SVN: r41417 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 264bd8237868..002d639c4ae4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2001-04-18 Mark Mitchell + + * loop.c (load_mems): Examine all the instructions in the loop + before concluding that all jumps branch to the first instruction + after the loop. + Wed Apr 18 20:32:03 2001 Christopher Faylor * config/i386/xm-cygwin.h (CPP_SPEC): Fix typo. diff --git a/gcc/loop.c b/gcc/loop.c index 085b7c8b54a3..774801573e9c 100644 --- a/gcc/loop.c +++ b/gcc/loop.c @@ -8830,7 +8830,7 @@ load_mems (loop) never executed. Also check if there is a goto out of the loop other than right after the end of the loop. */ for (p = next_insn_in_loop (loop, loop->scan_start); - p != NULL_RTX && ! maybe_never; + p != NULL_RTX; p = next_insn_in_loop (loop, p)) { if (GET_CODE (p) == CODE_LABEL) diff --git a/gcc/testsuite/g77.f-torture/execute/20010116.x b/gcc/testsuite/g77.f-torture/execute/20010116.x deleted file mode 100644 index c61feeb34012..000000000000 --- a/gcc/testsuite/g77.f-torture/execute/20010116.x +++ /dev/null @@ -1,6 +0,0 @@ -set torture_eval_before_execute { - set compiler_conditional_xfail_data { - "" "i?86-*-*" { "-O[23s]" } { "" } - } -} -return 0