Commit 81d57b8e by Richard Kenner

(copy_rtx_and_substitute, case LABEL_REF): If we turn off

LABEL_REF_NONLOCAL_P, increment function_call_count.

From-SVN: r5040
parent b8bb540c
...@@ -2052,6 +2052,14 @@ copy_rtx_and_substitute (orig, map) ...@@ -2052,6 +2052,14 @@ copy_rtx_and_substitute (orig, map)
= (LABEL_REF_NONLOCAL_P (orig) = (LABEL_REF_NONLOCAL_P (orig)
&& ! (CODE_LABEL_NUMBER (XEXP (copy, 0)) >= get_first_label_num () && ! (CODE_LABEL_NUMBER (XEXP (copy, 0)) >= get_first_label_num ()
&& CODE_LABEL_NUMBER (XEXP (copy, 0)) < max_label_num ())); && CODE_LABEL_NUMBER (XEXP (copy, 0)) < max_label_num ()));
/* If we have made a nonlocal label local, it means that this
inlined call will be refering to our nonlocal goto handler.
So make sure we create one for this block; we normally would
not since this is not otherwise considered a "call". */
if (LABEL_REF_NONLOCAL_P (orig) && ! LABEL_REF_NONLOCAL_P (copy))
function_call_count++;
return copy; return copy;
case PC: case PC:
......
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