summaryrefslogtreecommitdiff
path: root/gcc/sdbout.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-09-17 06:05:53 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-09-17 06:05:53 +0000
commit8837693a0407cc0ccc3ccb25c2288664f1182e5e (patch)
treeaff710e5a7271f2323cabbf7cc53c2d2ea163bd4 /gcc/sdbout.c
parentdc086c8a53f3295a25c08edd1675c7fe46d1e8ac (diff)
downloadgcc-8837693a0407cc0ccc3ccb25c2288664f1182e5e.tar.gz
PR fortran/3924
* sdbout.c (sdbout_symbol): Don't handle offsets from a symbol. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57232 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sdbout.c')
-rw-r--r--gcc/sdbout.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/gcc/sdbout.c b/gcc/sdbout.c
index 9effe785110..9d5effd6f6e 100644
--- a/gcc/sdbout.c
+++ b/gcc/sdbout.c
@@ -924,23 +924,6 @@ sdbout_symbol (decl, local)
PUT_SDB_INT_VAL (DEBUGGER_AUTO_OFFSET (XEXP (value, 0)));
PUT_SDB_SCL (C_AUTO);
}
- else if (GET_CODE (value) == MEM && GET_CODE (XEXP (value, 0)) == CONST)
- {
- /* Handle an obscure case which can arise when optimizing and
- when there are few available registers. (This is *always*
- the case for i386/i486 targets). The DECL_RTL looks like
- (MEM (CONST ...)) even though this variable is a local `auto'
- or a local `register' variable. In effect, what has happened
- is that the reload pass has seen that all assignments and
- references for one such a local variable can be replaced by
- equivalent assignments and references to some static storage
- variable, thereby avoiding the need for a register. In such
- cases we're forced to lie to debuggers and tell them that
- this variable was itself `static'. */
- PUT_SDB_DEF (name);
- PUT_SDB_VAL (XEXP (XEXP (value, 0), 0));
- PUT_SDB_SCL (C_STAT);
- }
else
{
/* It is something we don't know how to represent for SDB. */