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

--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>:

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

commit r15-6910-gdd389c2549a4891e044c96b9298efa2a363c744a
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Wed Jan 15 09:43:32 2025 +0100

    ipa: Initialize/release global obstack in process_new_functions [PR116068]

    Other spots in cgraphunit.cc already call bitmap_obstack_initialize (NULL);
    before running a pass list and bitmap_obstack_release (NULL); after that,
    while process_new_functions wasn't doing that and with the new r15-130
    bitmap_alloc checking that results in ICE.

    2025-01-15  Jakub Jelinek  <ja...@redhat.com>

            PR ipa/116068
            * cgraphunit.cc (symbol_table::process_new_functions): Call
            bitmap_obstack_initialize (NULL); and bitmap_obstack_release (NULL)
            around processing the functions.

            * gcc.dg/graphite/pr116068.c: New test.

Reply via email to