projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
655f2eb
)
* cse.c (fold_rtx): Honor NO_FUNCTION_CSE.
author
Richard Henderson
<rth@cygnus.com>
Mon, 11 Sep 2000 21:34:57 +0000
(14:34 -0700)
committer
Richard Henderson
<rth@gcc.gnu.org>
Mon, 11 Sep 2000 21:34:57 +0000
(14:34 -0700)
From-SVN: r36331
gcc/ChangeLog
patch
|
blob
|
history
gcc/cse.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 31d94b4b8f5d5951182504b03a470aeda3b5e88c..1979574aaa72ee3b7c260b0ea871f0b55e8fe298 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-1,3
+1,7
@@
+2000-09-11 Richard Henderson <rth@cygnus.com>
+
+ * cse.c (fold_rtx): Honor NO_FUNCTION_CSE.
+
2000-09-11 Richard Henderson <rth@cygnus.com>
* config/ia64/ia64-protos.h (fr_nonimmediate_operand): Declare.
diff --git
a/gcc/cse.c
b/gcc/cse.c
index f9348fbabeb6b06ef8ee8662ac9ab4da99e5732f..b86843595eac4e0d0bdcdc76d68af5adcdf7f5d0 100644
(file)
--- a/
gcc/cse.c
+++ b/
gcc/cse.c
@@
-3611,6
+3611,13
@@
fold_rtx (x, insn)
return x;
}
+#ifdef NO_FUNCTION_CSE
+ case CALL:
+ if (CONSTANT_P (XEXP (XEXP (x, 0), 0)))
+ return x;
+ break;
+#endif
+
case ASM_OPERANDS:
for (i = ASM_OPERANDS_INPUT_LENGTH (x) - 1; i >= 0; i--)
validate_change (insn, &ASM_OPERANDS_INPUT (x, i),