https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113114
Bug ID: 113114 Summary: ICE in try_promote_writeback aarch64-ldp-fusion.cc Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, needs-bisection Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: fkastl at suse dot cz Target Milestone: --- Host: x86_64-pc-linux-gnu Target: aarch64-linux-gnu While compiling the GCC testcase gcc.c-torture/execute/pr59643.c using an aarch64 crosscompiler with these options aarch64-linux-gnu-gcc /home/worker/buildworker/tiber-option-juggler/build/gcc/testsuite/gcc.c-torture/execute/pr59643.c -mabi=ilp32 -O2 the compiler runs into an ICE during RTL pass: ldp_fusion /home/worker/buildworker/tiber-option-juggler/build/gcc/testsuite/gcc.c-torture/execute/pr59643.c: In function ‘foo’: /home/worker/buildworker/tiber-option-juggler/build/gcc/testsuite/gcc.c-torture/execute/pr59643.c:11:1: internal compiler error: in try_promote_writeback, at config/aarch64/aarch64-ldp-fusion.cc:2604 11 | } | ^ 0x789ba3 try_promote_writeback /home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/config/aarch64/aarch64-ldp-fusion.cc:2604 0x789ba3 ldp_fusion_bb(rtl_ssa::bb_info*) /home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/config/aarch64/aarch64-ldp-fusion.cc:2635 0x11bc4a7 ldp_fusion() /home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/config/aarch64/aarch64-ldp-fusion.cc:2655 0x11bc528 execute /home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/config/aarch64/aarch64-ldp-fusion.cc:2705 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. Configuration of the compiler: Using built-in specs. COLLECT_GCC=/home/worker/cross/bin/aarch64-linux-gnu-gcc COLLECT_LTO_WRAPPER=/home/worker/cross/libexec/gcc/aarch64-linux-gnu/14.0.0/lto-wrapper Target: aarch64-linux-gnu Configured with: /home/worker/buildworker/tiber-gcc-trunk-aarch64/build/configure --enable-languages=c,c++,fortran,rust,m2 --disable-bootstrap --disable-libsanitizer --disable-multilib --enable-checking=release --prefix=/home/worker/cross --target=aarch64-linux-gnu --with-as=/usr/bin/aarch64-suse-linux-as Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20231221 (experimental) ec2ec24a4d4d1175f72641a95010c2312eb38ccd (GCC)