https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93751

--- Comment #18 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jason Merrill <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:52b3aa8be18938486065f5f2a23553b134a10a81

commit r10-7235-g52b3aa8be18938486065f5f2a23553b134a10a81
Author: Alexey Neyman <sti...@att.net>
Date:   Sat Mar 14 17:05:36 2020 -0700

    dwarf: Generate DIEs for external variables with -g1 [93751]

    -g1 is described in the manual to generate debug info for functions and
    external variables. It does that for older debugging formats but not for
    DWARF. This change brings DWARF in line with the rest of the debugging
    formats and with the manual.

    gcc/ChangeLog
    2020-03-17  Alexey Neyman  <sti...@att.net>

            PR debug/93751
            * dwarf2out.c (gen_decl_die): Proceed to generating the DIE if
            the debug level is terse and the declaration is public. Do not
            generate type info.
            (dwarf2out_decl): Same.
            (add_type_attribute): Return immediately if debug level is
            terse.

    Signed-off-by: Alexey Neyman <sti...@att.net>

Reply via email to