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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Alexandre Oliva <aol...@gcc.gnu.org>:

https://gcc.gnu.org/g:57450da2fef3a32dc463b85e7b3d67f519b282cb

commit r11-6561-g57450da2fef3a32dc463b85e7b3d67f519b282cb
Author: Alexandre Oliva <ol...@gnu.org>
Date:   Thu Dec 31 21:37:24 2020 -0300

    final: accept markers at line 0

    Back when I introduced debug markers, I seem to have been under the
    impression that location line 0 would only ever occur for unknown and
    builtin locations.

    Though line 0 never comes up in normal processing of source files, and
    debug info formats often cannot represent them, I suppose there's no
    need to preemptively discard them during final.


    for  gcc/ChangeLog

            PR debug/97714
            * final.c (notice_source_line): Narrow down the condition to
            skip a line-0 marker.

    for  gcc/testsuite/ChangeLog

            PR debug/97714
            * gcc.dg/debug/pr97714.c: New.
  • [Bug rtl-optimization/97714] [8... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to