On 2/19/19 5:51 AM, Johan Carlsson wrote:
> 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/debu
On 2/21/19 12:22 PM, Richard Biener wrote:
> On February 21, 2019 8:06:05 PM GMT+01:00, Jeff Law 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.
>>>
>>> Te
On February 21, 2019 8:06:05 PM GMT+01:00, Jeff Law 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, powe
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
>