https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117062
Bug ID: 117062
Summary: [15 regression] x86-64: ICE during GIMPLE pass: vect
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
Assignee: unassigned at gcc dot gnu.org
Reporter: manuel.lauss at googlemail dot com
Target Milestone: ---
Created attachment 59310
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59310&action=edit
compressed unreduced testcase
gcc version 15.0.0 20241010 (experimental)
c1b2100e736c8ad80479fa6417db760695a00256 (Gentoo 15.0.9999 p, commit
9a259e1746b11f94c3ccdeacb33bcc9ccfeb3f5f)
during GCC build:
g++ -m64 -O3 -march=znver5 dwarf2out.ii
during GIMPLE pass: vect
/tmp-ram/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/gcc/dwarf2out.cc:
In function 'bool add_const_value_attribute(dw_die_ref, machine_mode, rtx)':
/tmp-ram/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/gcc/dwarf2out.cc:20326:1:
internal compiler error: Segmentation fault
20326 | add_const_value_attribute (dw_die_ref die, machine_mode mode, rtx rtl)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
see attached testcase, or just build gcc-15 itself with at least
"-march=znver4"