diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-10-20 19:30:53 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-10-20 19:30:53 -0400 |
commit | 3bb5826ab80b3b750de1825fe54bcb01d0f1162c (patch) | |
tree | 6ab7f0f25f8fcdc1442df34c77593e22e601e718 | |
parent | d02089a5f24db5cea75174304a367b8b5555ddb8 (diff) | |
download | gcc-3bb5826ab80b3b750de1825fe54bcb01d0f1162c.zip gcc-3bb5826ab80b3b750de1825fe54bcb01d0f1162c.tar.gz gcc-3bb5826ab80b3b750de1825fe54bcb01d0f1162c.tar.bz2 |
(safe_from_p, case RTL_EXPR): Return 0 if RTL_EXPR_SEQUENCE exists.
Delete code to return 0 if exp_rtl is zero.
From-SVN: r10492
-rw-r--r-- | gcc/expr.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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: |