https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122784
Bug ID: 122784
Summary: ice: Segmentation fault signal terminated program
cc1plus
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
Created attachment 62865
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62865&action=edit
C++ source code
The attached C++ code does this with recent gcc trunk:
foundBugs $ /home/dcb42/gcc/results.20251116.asan.ubsan/bin/g++ -w -c -O3
bug1143.cc
foundBugs $ /home/dcb42/gcc/results.20251117.asan.ubsan/bin/g++ -w -c -O3
bug1143.cc
g++: internal compiler error: Segmentation fault signal terminated program
cc1plus
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
See <https://gcc.gnu.org/bugs/> for instructions.
foundBugs $
For g++ versions:
foundBugs $ /home/dcb42/gcc/results.20251116.asan.ubsan/bin/g++ -v 2>&1 | grep
exp
gcc version 16.0.0 20251116 (experimental) (84dbb22f32a525a0)
foundBugs $ /home/dcb42/gcc/results.20251117.asan.ubsan/bin/g++ -v 2>&1 | grep
exp
gcc version 16.0.0 20251117 (experimental) (add4efbd129d87e4)
foundBugs $
I will run a reduction on this.