dwarf2out.c (class_scope_p): New fn.
authorJason Merrill <jason@casey.cygnus.com>
Tue, 14 Dec 1999 23:05:11 +0000 (23:05 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 14 Dec 1999 23:05:11 +0000 (18:05 -0500)
commit9765e35715de2d3850b2883ab3c2116774df69be
tree4d16f0ac6775f0cc194bc5e9630ad658a196d349
parentcf69bfbf38d5b9742d171ae250ed59c1f7399e16
dwarf2out.c (class_scope_p): New fn.

        * dwarf2out.c (class_scope_p): New fn.
        (gen_subprogram_die): Use it.
        (gen_variable_die): Use it.  Tweak logic.
        (gen_struct_or_union_type_die): Check context_die to determine
        if we're function-local.
        (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.

From-SVN: r30931
gcc/ChangeLog
gcc/dwarf2out.c