public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/113017] New: ICE in delete_unmarked_insns, at dce.cc:653
@ 2023-12-14 9:58 fkastl at suse dot cz
2024-04-07 11:03 ` [Bug rtl-optimization/113017] ICE in delete_unmarked_insns, at dce.cc:653 while compiling gfortran.dg/inline_matmul_9.f90 for aarch64 pheeck at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: fkastl at suse dot cz @ 2023-12-14 9:58 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113017
Bug ID: 113017
Summary: ICE in delete_unmarked_insns, at dce.cc:653
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, needs-bisection
Severity: normal
Priority: P3
Component: rtl-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: fkastl at suse dot cz
Target Milestone: ---
Host: x86_64-linux
Target: aarch64-gnu-linux
While compiling the GCC testsuite testcase gfortran.dg/inline_matmul_9.f90 with
aarch64 crosscompiler:
aarch64-linux-gnu-gfortran
/home/worker/buildworker/tiber-option-juggler/build/gcc/testsuite/gfortran.dg/inline_matmul_9.f90
-fharden-control-flow-redundancy -ftrapping-math -Ofast -fnon-call-exceptions
the following ICE occurs:
during RTL pass: sched1
/home/worker/buildworker/tiber-option-juggler/build/gcc/testsuite/gfortran.dg/inline_matmul_9.f90:22:16:
22 | end program main
| ^
internal compiler error: in delete_unmarked_insns, at dce.cc:653
0x7a8696 delete_unmarked_insns
/home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/dce.cc:653
0x19c75f2 fast_dce
/home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/dce.cc:1180
0x19c7784 rest_of_handle_fast_dce
/home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/dce.cc:1194
0x19c7784 run_fast_df_dce()
/home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/dce.cc:1242
0xa09448 df_lr_finalize
/home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/df-problems.cc:1065
0xa030cd df_analyze_problem(dataflow*, bitmap_head*, int*, int)
/home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/df-core.cc:1190
0xa03163 df_analyze_1
/home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/df-core.cc:1235
0x1a8b5d8 sched_init()
/home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/haifa-sched.cc:7344
0x1a916fd haifa_sched_init()
/home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/haifa-sched.cc:7368
0xdf925c schedule_insns()
/home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/sched-rgn.cc:3524
0xdf986c schedule_insns()
/home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/sched-rgn.cc:3518
0xdf986c rest_of_handle_sched
/home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/sched-rgn.cc:3736
0xdf986c execute
/home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/sched-rgn.cc:3846
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.
Compiler configuration:
Using built-in specs.
COLLECT_GCC=/home/worker/cross/bin/aarch64-linux-gnu-gfortran
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 20231213 (experimental)
c535360788e142a92e1d8b1db25bf4452e26f5fb (GCC)
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug rtl-optimization/113017] ICE in delete_unmarked_insns, at dce.cc:653 while compiling gfortran.dg/inline_matmul_9.f90 for aarch64
2023-12-14 9:58 [Bug rtl-optimization/113017] New: ICE in delete_unmarked_insns, at dce.cc:653 fkastl at suse dot cz
@ 2024-04-07 11:03 ` pheeck at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: pheeck at gcc dot gnu.org @ 2024-04-07 11:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113017
Filip Kastl <pheeck at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|ICE in |ICE in
|delete_unmarked_insns, at |delete_unmarked_insns, at
|dce.cc:653 |dce.cc:653 while compiling
| |gfortran.dg/inline_matmul_9
| |.f90 for aarch64
--- Comment #1 from Filip Kastl <pheeck at gcc dot gnu.org> ---
Also happens with LLVM testcase flang/test/Lower/HLFIR/conversion-ops.f90
aarch64-linux-gnu-gfortran
/home/worker/llvm/src/flang/test/Lower/HLFIR/conversion-ops.f90 -Oz
-fschedule-insns -fharden-control-flow-redundancy -fnon-call-exceptions
and with GCC testsuite testcase gfortran.dg/typebound_operator_15.f90
aarch64-linux-gnu-gfortran
/home/worker/buildworker/tiber-option-juggler/build/gcc/testsuite/gfortran.dg/typebound_operator_15.f90
-fno-gcse -fharden-control-flow-redundancy -flive-patching=inline-clone -O2
-fnon-call-exceptions
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-04-07 11:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-14 9:58 [Bug rtl-optimization/113017] New: ICE in delete_unmarked_insns, at dce.cc:653 fkastl at suse dot cz
2024-04-07 11:03 ` [Bug rtl-optimization/113017] ICE in delete_unmarked_insns, at dce.cc:653 while compiling gfortran.dg/inline_matmul_9.f90 for aarch64 pheeck at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).