https://sourceware.org/bugzilla/show_bug.cgi?id=33746

--- Comment #4 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The binutils-2_46-branch branch has been updated by Alan Modra
<[email protected]>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b6488e77dde0512e386504981011c040f46e16ec

commit b6488e77dde0512e386504981011c040f46e16ec
Author: Alan Modra <[email protected]>
Date:   Wed Jan 28 18:08:09 2026 +1030

    gas: segmentation fault in as_report_context

    After input_scrub_end when next_saved_file is NULL, it is possible
    that macro_nest will be non-zero on files with errors.  If
    output_file_close then has an error and reports it with as_fatal we
    hit the segfault.

            PR 33746
            * input_scrub.c (as_report_context): Don't assume
            next_saved_file is non-NULL.
            (as_where): Likewise.

    (cherry picked from commit ea96771a0188a235645558ae10d6885c91c1ac00)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to