Commit 29b396f7 by Jason Merrill

-g1

From-SVN: r12962
parent 17bbe96f
...@@ -7594,8 +7594,9 @@ gen_decl_die (decl, context_die) ...@@ -7594,8 +7594,9 @@ gen_decl_die (decl, context_die)
type or a formal parameter type of some function. */ type or a formal parameter type of some function. */
if (debug_info_level <= DINFO_LEVEL_TERSE) if (debug_info_level <= DINFO_LEVEL_TERSE)
{ {
if (DECL_NAME (decl) != NULL if ((DECL_NAME (decl) != NULL
|| !TYPE_USED_FOR_FUNCTION (TREE_TYPE (decl))) || !TYPE_USED_FOR_FUNCTION (TREE_TYPE (decl)))
&& ! DECL_ARTIFICIAL (decl))
{ {
break; break;
} }
...@@ -7797,8 +7798,9 @@ dwarfout_file_scope_decl (decl, set_finalizing) ...@@ -7797,8 +7798,9 @@ dwarfout_file_scope_decl (decl, set_finalizing)
type or a formal parameter type of some function. */ type or a formal parameter type of some function. */
if (debug_info_level <= DINFO_LEVEL_TERSE) if (debug_info_level <= DINFO_LEVEL_TERSE)
{ {
if (DECL_NAME (decl) != NULL if ((DECL_NAME (decl) != NULL
|| !TYPE_USED_FOR_FUNCTION (TREE_TYPE (decl))) || !TYPE_USED_FOR_FUNCTION (TREE_TYPE (decl)))
&& ! DECL_ARTIFICIAL (decl))
{ {
return; return;
} }
......
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