Richard Biener <rguent...@suse.de> writes:

> On Thu, 22 Aug 2024, Bernd Edlinger wrote:
>
>> This affects only the RISC-V targets, where the compiler options
>> -gvariable-location-views and consequently also -ginline-points
>> are disabled by default, which is unexpected and disables some
>> useful features of the generated debug info.
[...]
>> gcc/ChangeLog:
>> 
>>         * dwarf2out.cc (dwarf2out_maybe_output_loclist_view_pair,
>>         output_loc_list): Correct handling of -gno-as-loc-support,
>>         use ZERO_VIEW_P to output view number as zero value.
>>         * toplev.cc (process_options): Do not automatically disable
>>         -gvariable-location-views when -gno-as-loc-support or
>>         -gno-as-locview-support is used, instead do automatically
>>         disable -gas-locview-support if -gno-as-loc-support is used.

Unfortunately, this patch broke Solaris/x86 bootstrap with the native
as: PR debug/116470.

        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to