diff options
author | Jakub Jelinek <jakub@redhat.com> | 2025-01-15 09:43:32 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2025-01-15 09:43:32 +0100 |
commit | dd389c2549a4891e044c96b9298efa2a363c744a (patch) | |
tree | a17931f1f76b86aa64b288d5946f452a019eeed3 /gcc/genmatch.cc | |
parent | 18f6bb9899209ccd41c476254d30596606c81dd7 (diff) | |
download | gcc-dd389c2549a4891e044c96b9298efa2a363c744a.zip gcc-dd389c2549a4891e044c96b9298efa2a363c744a.tar.gz gcc-dd389c2549a4891e044c96b9298efa2a363c744a.tar.bz2 |
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 <jakub@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.
Diffstat (limited to 'gcc/genmatch.cc')
0 files changed, 0 insertions, 0 deletions