projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cbfbb1
)
* loop.c (insert_loop_mem): Ignore memory clobbers.
author
Richard Henderson
<rth@cygnus.com>
Thu, 16 Dec 1999 09:55:20 +0000
(
01:55
-0800)
committer
Jeff Law
<law@gcc.gnu.org>
Thu, 16 Dec 1999 09:55:20 +0000
(
02:55
-0700)
From-SVN: r30973
gcc/ChangeLog
patch
|
blob
|
history
gcc/loop.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 5f98bda8864d9ae9acb1be324922f963bae9ee1f..4c898181a7e14beafe088b5c57476b1f2adeb387 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-6,6
+6,8
@@
Thu Dec 16 10:43:35 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
Thu Dec 16 02:41:26 1999 Richard Henderson (rth@cygnus.com)
+ * loop.c (insert_loop_mem): Ignore memory clobbers.
+
* combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
to (OP A B).
diff --git
a/gcc/loop.c
b/gcc/loop.c
index 573a76aad6a3bdf03a438d6d581e0fedeb5e8f96..b210a232e93a9388012794c1f805c1ac64bda0b8 100644
(file)
--- a/
gcc/loop.c
+++ b/
gcc/loop.c
@@
-9643,6
+9643,10
@@
insert_loop_mem (mem, data)
case MEM:
break;
+ case CLOBBER:
+ /* We're not interested in MEMs that are only clobbered. */
+ return -1;
+
case CONST_DOUBLE:
/* We're not interested in the MEM associated with a
CONST_DOUBLE, so there's no need to traverse into this. */