Commit cb0bb87d by Jeffrey A Law Committed by Jeff Law

except.c (sjlj_mark_call_sites): Do not search for assignments to non-argumment…

except.c (sjlj_mark_call_sites): Do not search for assignments to non-argumment registers that are mentioned in...

        * except.c (sjlj_mark_call_sites): Do not search for assignments to
        non-argumment registers that are mentioned in CALL_INSN_FUNCTION_USAGE.

From-SVN: r41896
parent 5cdba4ff
Mon May 7 09:30:14 2001 Jeffrey A Law (law@cygnus.com)
* except.c (sjlj_mark_call_sites): Do not search for assignments to
non-argumment registers that are mentioned in CALL_INSN_FUNCTION_USAGE.
* pa.h (MAX_LONG_TYPE_SIZE): Should be 32, not 64.
* pa-64.h (*_TYPE_SIZE): Undefine before redefining.
......
......@@ -2087,6 +2087,11 @@ sjlj_mark_call_sites (lp_info)
if (REGNO (XEXP (XEXP (p, 0), 0)) >= FIRST_PSEUDO_REGISTER)
abort ();
/* We only care about registers which can hold function
arguments. */
if (! FUNCTION_ARG_REGNO_P (REGNO (XEXP (XEXP (p, 0), 0))))
continue;
SET_HARD_REG_BIT (parm_regs, REGNO (XEXP (XEXP (p, 0), 0)));
nparm_regs++;
}
......
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