aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2001-04-19 02:15:46 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2001-04-19 02:15:46 +0000
commit17e2b3cb0486f4e1aedb8f0bb0d451a8e20c17fe (patch)
treef6acc24a58e2b4620ed60cd74935368dff69b793
parent9e24b9506aff4651182659d46bbec90e8f28cfd4 (diff)
downloadgcc-17e2b3cb0486f4e1aedb8f0bb0d451a8e20c17fe.zip
gcc-17e2b3cb0486f4e1aedb8f0bb0d451a8e20c17fe.tar.gz
gcc-17e2b3cb0486f4e1aedb8f0bb0d451a8e20c17fe.tar.bz2
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
-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