(sdbout_symbol): If non-static var has static-style RTL,
don't output anything for it. From-SVN: r6106
This commit is contained in:
parent
aa988991ba
commit
39eae9f47a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue