projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d02089a
)
(safe_from_p, case RTL_EXPR): Return 0 if RTL_EXPR_SEQUENCE exists.
author
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 20 Oct 1995 23:30:53 +0000
(19:30 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 20 Oct 1995 23:30:53 +0000
(19:30 -0400)
Delete code to return 0 if exp_rtl is zero.
From-SVN: r10492
gcc/expr.c
patch
|
blob
|
history
diff --git
a/gcc/expr.c
b/gcc/expr.c
index 559a0677c87aa063bc43a1d37240e59d12aeb03f..567532dfde48b1837d650484956c16fba3622a9a 100644
(file)
--- a/
gcc/expr.c
+++ b/
gcc/expr.c
@@
-3901,11
+3901,13
@@
safe_from_p (x, exp)
break;
case RTL_EXPR:
- exp_rtl = RTL_EXPR_RTL (exp);
- if (exp_rtl == 0)
- /* We don't know what this can modify. */
+ /* If a sequence exists, we would have to scan every instruction
+ in the sequence to see if it was safe. This is probably not
+ worthwhile. */
+ if (RTL_EXPR_SEQUENCE (exp))
return 0;
+ exp_rtl = RTL_EXPR_RTL (exp);
break;
case WITH_CLEANUP_EXPR: