https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122057
Bug ID: 122057
Summary: MIPS -fstack-protector-strong ICE
Product: gcc
Version: 15.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: bunk at stusta dot de
Target Milestone: ---
Created attachment 62446
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62446&action=edit
preprocessed source
>From a build of qemu for 64-bit MIPS in Debian:
https://buildd.debian.org/status/fetch.php?pkg=qemu&arch=mips64el&ver=1%3A10.1.0%2Bds-5&stamp=1758132199&raw=0
$ gcc-14 -O2 -fstack-protector-strong -c mips-ice.c
$ gcc-15 -O2 -fstack-protector-strong -c mips-ice.c
during RTL pass: late_combine
../../target/i386/tcg/seg_helper.c: In function 'helper_lcall_protected':
../../target/i386/tcg/seg_helper.c:1951:1: internal compiler error:
Segmentation fault
0x1218e5447 internal_error(char const*, ...)
../../src/gcc/diagnostic-global-context.cc:517
0x120a33afb crash_signal
../../src/gcc/toplev.cc:322
0x1217cb091 rtl_ssa::clobber_info::recompute_group()
../../src/gcc/rtl-ssa/accesses.cc:67
0x12177258b rtl_ssa::clobber_info::group() const
../../src/gcc/rtl-ssa/member-fns.inl:200
0x12177258b rtl_ssa::last_clobber_in_group(rtl_ssa::clobber_info*)
../../src/gcc/rtl-ssa/access-utils.h:254
0x12177258b rtl_ssa::last_clobber_in_group(rtl_ssa::clobber_info*)
../../src/gcc/rtl-ssa/access-utils.h:251
0x12177258b first_access<(anonymous
namespace)::insn_combination::substitute_nondebug_use(rtl_ssa::use_info*)::local_ignore>
../../src/gcc/rtl-ssa/access-utils.h:516
0x121773e33 next_access<(anonymous
namespace)::insn_combination::substitute_nondebug_use(rtl_ssa::use_info*)::local_ignore>
../../src/gcc/rtl-ssa/access-utils.h:554
0x121773e33 restrict_movement_for_defs<(anonymous
namespace)::insn_combination::substitute_nondebug_use(rtl_ssa::use_info*)::local_ignore>
../../src/gcc/rtl-ssa/movement.h:235
0x121773e33 restrict_movement<(anonymous
namespace)::insn_combination::substitute_nondebug_use(rtl_ssa::use_info*)::local_ignore>
../../src/gcc/rtl-ssa/change-utils.h:66
0x121773e33 substitute_nondebug_use
../../src/gcc/late-combine.cc:249
0x121773e33 substitute_nondebug_uses
../../src/gcc/late-combine.cc:271
0x121774ac3 run
../../src/gcc/late-combine.cc:440
0x121774ac3 combine_into_uses
../../src/gcc/late-combine.cc:690
0x1217754b3 execute
../../src/gcc/late-combine.cc:718
0x1217754b3 execute
../../src/gcc/late-combine.cc:771
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-15/README.Bugs> for instructions.
$