Re: [PATCH v4] RISC-V: Enable -gvariable-location-views by default

2024-08-22 Thread Richard Biener
On Thu, 22 Aug 2024, Bernd Edlinger wrote: > On 8/22/24 09:11, Richard Biener wrote: > > On Thu, 22 Aug 2024, Bernd Edlinger wrote: > >> --- a/gcc/dwarf2out.cc > >> +++ b/gcc/dwarf2out.cc > >> @@ -10374,7 +10374,7 @@ dwarf2out_maybe_output_loclist_view_pair > >> (dw_loc_list_ref curr) > >> #ifde

Re: [PATCH v4] RISC-V: Enable -gvariable-location-views by default

2024-08-22 Thread Bernd Edlinger
On 8/22/24 09:11, Richard Biener wrote: > On Thu, 22 Aug 2024, Bernd Edlinger wrote: >> --- a/gcc/dwarf2out.cc >> +++ b/gcc/dwarf2out.cc >> @@ -10374,7 +10374,7 @@ dwarf2out_maybe_output_loclist_view_pair >> (dw_loc_list_ref curr) >> #ifdef DW_LLE_view_pair >>dw2_asm_output_data (1, DW_LLE_vi

Re: [PATCH v4] RISC-V: Enable -gvariable-location-views by default

2024-08-22 Thread Richard Biener
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. > > Due t