Commit bc69bfac by Richard Kenner

(global_symbolic_reference_mentioned_p): Recurse only

if GET_CODE (op) == CONST.

From-SVN: r6796
parent 65e8fe02
...@@ -406,8 +406,15 @@ global_symbolic_reference_mentioned_p (op) ...@@ -406,8 +406,15 @@ global_symbolic_reference_mentioned_p (op)
register char *fmt; register char *fmt;
register int i; register int i;
if (GET_CODE (op) == SYMBOL_REF && ! SYMBOL_REF_FLAG (op)) if (GET_CODE (op) == SYMBOL_REF)
return 1; {
if (! SYMBOL_REF_FLAG (op))
return 1;
else
return 0;
}
else if (GET_CODE (op) != CONST)
return 0;
fmt = GET_RTX_FORMAT (GET_CODE (op)); fmt = GET_RTX_FORMAT (GET_CODE (op));
for (i = GET_RTX_LENGTH (GET_CODE (op)) - 1; i >= 0; i--) for (i = GET_RTX_LENGTH (GET_CODE (op)) - 1; i >= 0; i--)
......
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