From: Richard Biener <rguenther@suse.de>
To: Jeff Law <law@redhat.com>,Johan Carlsson
<Johan.Carlsson@enea.com>,"gcc-patches@gcc.gnu.org"
<gcc-patches@gcc.gnu.org>
Subject: Re: [PATCH] Remove unused extern variables from debug (PR debug/86964)
Date: Thu, 21 Feb 2019 19:50:00 -0000 [thread overview]
Message-ID: <C74AE462-CB01-4409-B997-4591D87A8BF8@suse.de> (raw)
In-Reply-To: <1043f46b-20ff-0d20-2cc3-27f4300f465d@redhat.com>
On February 21, 2019 8:06:05 PM GMT+01:00, Jeff Law <law@redhat.com> wrote:
>On 2/19/19 5:51 AM, Johan Carlsson wrote:
>> Adding so that the DIEs of unused external variables can be removed
>from the output when
>> using -feliminate-unused-debug-symbols.
>>
>> Tested on x86_64-elf, aarch64-elf, powerpc-eabi, powerpc64-elf and
>arm-eabi.
>>
>>
>> 2019-02-18 Johan Karlsson <johan.karlsson@enea.com>
>>
>> PR debug/86964
>> * dwarf2out.c (premark_used_variables): New function.
>> (prune_unused_types_walk): Do not mark not premarked external
>> variables.
>> (prune_unused_types): Call premark_used_variables.
>>
>> * gcc.dg/debug/dwarf2/pr86964.c: New testcase.
>Just a note, we're addressing regression bugfixes only at this point in
>GCC development. I've queued this for gcc-10.
Note that technically this is a regression from pre-early-debug.
Richard.
>jeff
next prev parent reply other threads:[~2019-02-21 19:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-19 12:51 Johan Carlsson
2019-02-21 19:22 ` Jeff Law
2019-02-21 19:50 ` Richard Biener [this message]
2019-02-21 21:45 ` Jeff Law
2019-03-25 21:22 ` Jeff Law
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C74AE462-CB01-4409-B997-4591D87A8BF8@suse.de \
--to=rguenther@suse.de \
--cc=Johan.Carlsson@enea.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=law@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).