https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125121
Bug ID: 125121
Summary: [16/17 Regression] ICE when building portage-utils
during IPA pass: sra since r16-5466-gf9c01c47f8e545
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ipa
Assignee: unassigned at gcc dot gnu.org
Reporter: kostadinshishmanov at protonmail dot com
Target Milestone: ---
Created attachment 64332
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=64332&action=edit
original preprocessed sources
`gcc -O2 -fno-ipa-cp -fopenmp`
```
void a() {
#pragma omp parallel sections
{
;
}
}
```
during IPA pass: sra
hash.c:6:1: internal compiler error: Segmentation fault
6 | }
| ^
0x25dab37 internal_error(char const*, ...)
../../gcc/gcc/diagnostic-global-context.cc:787
0x1190cef crash_signal
../../gcc/gcc/toplev.cc:325
0x7fa93724433f ???
/usr/src/debug/sys-libs/glibc-2.43-r1/glibc-2.43/signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
0x7f95d4 vec<isra_param_flow, va_heap, vl_ptr>::length() const
../../gcc/gcc/vec.h:1586
0x7f95d4 propagate_param_hints_accross_call
../../gcc/gcc/ipa-sra.cc:3503
0x7f95d4 propagate_hints_to_all_callees
../../gcc/gcc/ipa-sra.cc:3563
0xe6ec53 ipa_sra_analysis
../../gcc/gcc/ipa-sra.cc:4483
0xe6ec53 execute
../../gcc/gcc/ipa-sra.cc:4637