(sdbout_symbol): If non-static var has static-style RTL,

don't output anything for it.

From-SVN: r6106
This commit is contained in:
Richard Stallman 1993-11-16 10:22:29 +00:00
parent aa988991ba
commit 39eae9f47a
1 changed files with 6 additions and 0 deletions

View File

@ -756,6 +756,12 @@ sdbout_symbol (decl, local)
alter_subreg (DECL_RTL (decl));
value = DECL_RTL (decl);
}
/* Don't output anything if an auto variable
gets RTL that is static.
GAS version 2.2 can't handle such output. */
else if (GET_CODE (value) == MEM && CONSTANT_P (XEXP (value, 0))
&& ! TREE_STATIC (decl))
return;
/* Emit any structure, union, or enum type that has not been output.
This occurs for tag-less structs (et al) used to declare variables