Commit ebb0cdf3 by Catherine Moore Committed by Catherine Moore

(dbxout_parms): Handle invisible ref where decl is a REG

From-SVN: r38720
parent 3b4e6a16
2001-01-05 Catherine Moore <clm@redhat.com>
* dbxout.c ((dbxout_parms): Handle invisible ref where decl is a REG.
2001-01-05 Phil Edwards <pme@sources.redhat.com>
* cp/lang-options.h: Bring comment in line with reality.
......
......@@ -2474,10 +2474,14 @@ dbxout_parms (parms)
{
/* Parm was passed via invisible reference, with the reference
living on the stack. DECL_RTL looks like
(MEM (MEM (PLUS (REG ...) (CONST_INT ...)))). */
(MEM (MEM (PLUS (REG ...) (CONST_INT ...)))) or it
could look like (MEM (MEM (REG))). */
const char *decl_name = (DECL_NAME (parms)
? IDENTIFIER_POINTER (DECL_NAME (parms))
: "(anon)");
if (GET_CODE (XEXP (XEXP (DECL_RTL (parms), 0), 0)) == REG)
current_sym_value = 0;
else
current_sym_value
= INTVAL (XEXP (XEXP (XEXP (DECL_RTL (parms), 0), 0), 1));
current_sym_addr = 0;
......
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