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

--- Comment #10 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> I can of course make the .loc go away. If you really want that.
> 
> It is basically the DECL_SOURCE_LOCATION of an
> otherwise ignored decl.  If the DECL_SOURCE_LOCATION
> is UNKNOWN_LOCATION the function should have no line info,
> and gdb should be able not to step into this function.

But that's not the original design, which is that a DECL_IGNORED_P function
does not have .loc directives, like any other debugging information.

Reply via email to