Commit 3bb5826a by Richard Kenner

(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
parent d02089a5
...@@ -3901,11 +3901,13 @@ safe_from_p (x, exp) ...@@ -3901,11 +3901,13 @@ safe_from_p (x, exp)
break; break;
case RTL_EXPR: case RTL_EXPR:
exp_rtl = RTL_EXPR_RTL (exp); /* If a sequence exists, we would have to scan every instruction
if (exp_rtl == 0) in the sequence to see if it was safe. This is probably not
/* We don't know what this can modify. */ worthwhile. */
if (RTL_EXPR_SEQUENCE (exp))
return 0; return 0;
exp_rtl = RTL_EXPR_RTL (exp);
break; break;
case WITH_CLEANUP_EXPR: case WITH_CLEANUP_EXPR:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment