+2005-05-11 Ben Elliston <bje@au.ibm.com>
+
+ * dwarf2out.c: Revert my 2005-05-10 patch.
+
2005-05-10 H.J. Lu <hongjiu.lu@intel.com>
Backport from mainline
/* If we're a nested function, initially use a parent of NULL; if we're
a plain function, this will be fixed up in decls_for_scope. If
we're a method, it will be ignored, since we already have a DIE. */
- if (decl_function_context (decl))
- context_die = NULL;
+ if (decl_function_context (decl)
+ /* But if we're in terse mode, we don't care about scope. */
+ && debug_info_level > DINFO_LEVEL_TERSE)
+ context_die = NULL;
break;
case VAR_DECL: