Commit 9571f69b by Michael Meissner Committed by Jeff Law

dbxout.c (dbxout_symbol_location): Don't assume that variables whose address is…

dbxout.c (dbxout_symbol_location): Don't assume that variables whose address is the stack or argument pointers are...

        * dbxout.c (dbxout_symbol_location): Don't assume that variables
        whose address is the stack or argument pointers are indirect
        pointers.

From-SVN: r16475
parent e7cbb6b6
Thu Nov 13 18:41:02 1997 Michael Meissner <meissner@cygnus.com>
* dbxout.c (dbxout_symbol_location): Don't assume that variables
whose address is the stack or argument pointers are indirect
pointers.
1997-11-13 Paul Eggert <eggert@twinsun.com>
* cccp.c, cpplib.c (compare_defs):
......
......@@ -1980,7 +1980,12 @@ dbxout_symbol_location (decl, type, suffix, home)
else if (GET_CODE (home) == MEM
&& (GET_CODE (XEXP (home, 0)) == MEM
|| (GET_CODE (XEXP (home, 0)) == REG
&& REGNO (XEXP (home, 0)) != HARD_FRAME_POINTER_REGNUM)))
&& REGNO (XEXP (home, 0)) != HARD_FRAME_POINTER_REGNUM
&& REGNO (XEXP (home, 0)) != STACK_POINTER_REGNUM
#if ARG_POINTER_REGNUM != HARD_FRAME_POINTER_REGNUM
&& REGNO (XEXP (home, 0)) != ARG_POINTER_REGNUM
#endif
)))
/* If the value is indirect by memory or by a register
that isn't the frame pointer
then it means the object is variable-sized and address through
......
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