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

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Ah, so I see nvptx_option_override sets flag_var_tracking to 0, but that should
be in effect at finish_option time already.

But as said, since we have

  if (opts->x_debug_info_level < DINFO_LEVEL_NORMAL
      || !dwarf_debuginfo_p (opts))

the debug_hooks->var_location == do_nothing_debug_hooks.var_location case
should be covered already - the debug hooks will be dwarf2_debug_hooks
(hopefully).

I will try to reproduce and understand.

Reply via email to