aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/loop.c2
-rw-r--r--gcc/testsuite/g77.f-torture/execute/20010116.x6
3 files changed, 7 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 264bd82..002d639 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2001-04-18 Mark Mitchell <mark@codesourcery.com>
+
+ * 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 <cgf@cygnus.com>
* config/i386/xm-cygwin.h (CPP_SPEC): Fix typo.
diff --git a/gcc/loop.c b/gcc/loop.c
index 085b7c8..7748015 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 c61feeb..0000000
--- 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