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

--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Michal Jires <[email protected]>:

https://gcc.gnu.org/g:be54e3106ae967e8c23dca57b75525931fd28287

commit r16-5245-gbe54e3106ae967e8c23dca57b75525931fd28287
Author: Michal Jires <[email protected]>
Date:   Thu Nov 13 13:53:12 2025 +0100

    lto/122603: Fix missing null check with toplevel_node

    I missed a null check for asm_node when introducing toplevel_node.

            PR lto/122603

    gcc/lto/ChangeLog:

            * lto-partition.cc (split_partition_into_nodes): Null check for
            possible asm_node.

    gcc/testsuite/ChangeLog:

            * gcc.dg/lto/pr122603_0.c: New test.

Reply via email to