[Bug rtl-optimization/116009] New: [15 regression] ICE when building cython-3.0.10 on arm64 for Python 3.12 (insert_def_after, at rtl-ssa/accesses.cc:622)
sjames at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jul 19 21:34:46 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116009
Bug ID: 116009
Summary: [15 regression] ICE when building cython-3.0.10 on
arm64 for Python 3.12 (insert_def_after, at
rtl-ssa/accesses.cc:622)
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: sjames at gcc dot gnu.org
CC: rsandifo at gcc dot gnu.org
Target Milestone: ---
Created attachment 58709
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58709&action=edit
_tempita.cpython-312-aarch64-linux-gnu.so-_tempita.i.xz
It looks like this only happens when building for Python 3.12 (I build for
3.10/3.11/3.12) which is curious and I might diff the files if I get bored.
```
$ gcc -c _tempita.cpython-312-aarch64-linux-gnu.so-_tempita.i -O3
during RTL pass: late_combine
/var/tmp/portage/dev-python/cython-3.0.10/work/cython-3.0.10/Cython/Tempita/_tempita.c:
In function ‘__pyx_pw_6Cython_7Tempita_8_tempita_29parse_signature’:
/var/tmp/portage/dev-python/cython-3.0.10/work/cython-3.0.10/Cython/Tempita/_tempita.c:29347:5:
internal compiler error: in insert_def_after, at rtl-ssa/accesses.cc:622
29347 | }
| ^
0xaaaada30ffff internal_error(char const*, ...)
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/diagnostic-global-context.cc:491
0xaaaad8154363 fancy_abort(char const*, int, char const*)
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/diagnostic.cc:1725
0xaaaada1ade47 rtl_ssa::function_info::insert_def_after(rtl_ssa::def_info*,
rtl_ssa::def_info*)
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/rtl-ssa/accesses.cc:622
0xaaaada2ce01b rtl_ssa::function_info::append_phi(rtl_ssa::ebb_info*,
rtl_ssa::phi_info*)
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/rtl-ssa/blocks.cc:371
0xaaaada2ce01b rtl_ssa::function_info::create_phi(rtl_ssa::ebb_info*,
rtl_ssa::resource_info, rtl_ssa::access_info**, unsigned int)
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/rtl-ssa/blocks.cc:495
0xaaaada2cf7cb
rtl_ssa::function_info::create_degenerate_phi(rtl_ssa::ebb_info*,
rtl_ssa::set_info*)
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/rtl-ssa/blocks.cc:522
0xaaaada1b9e77
rtl_ssa::function_info::finalize_new_accesses(rtl_ssa::insn_change&,
rtl_ssa::insn_info*, hash_set<rtl_ssa::def_info*, false,
default_hash_traits<rtl_ssa::def_info*> >&)
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/rtl-ssa/changes.cc:640
0xaaaada1babaf
rtl_ssa::function_info::change_insns(array_slice<rtl_ssa::insn_change*>)
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/rtl-ssa/changes.cc:834
0xaaaada147b37 run
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/late-combine.cc:452
0xaaaada147b37 combine_into_uses
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/late-combine.cc:683
0xaaaada148387 execute
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/late-combine.cc:711
0xaaaada148387 execute
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/late-combine.cc:760
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://bugs.gentoo.org/> for instructions.
```
```
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/aarch64-unknown-linux-gnu/15/lto-wrapper
Target: aarch64-unknown-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/configure
--host=aarch64-unknown-linux-gnu --build=aarch64-unknown-linux-gnu
--prefix=/usr --bindir=/usr/aarch64-unknown-linux-gnu/gcc-bin/15
--includedir=/usr/lib/gcc/aarch64-unknown-linux-gnu/15/include
--datadir=/usr/share/gcc-data/aarch64-unknown-linux-gnu/15
--mandir=/usr/share/gcc-data/aarch64-unknown-linux-gnu/15/man
--infodir=/usr/share/gcc-data/aarch64-unknown-linux-gnu/15/info
--with-gxx-include-dir=/usr/lib/gcc/aarch64-unknown-linux-gnu/15/include/g++-v15
--disable-silent-rules --disable-dependency-tracking
--with-python-dir=/share/gcc-data/aarch64-unknown-linux-gnu/15/python
--enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt
--disable-werror --with-system-zlib --enable-nls --without-included-gettext
--disable-libunwind-exceptions --enable-checking=yes,extra,rtl
--with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo Hardened
15.0.9999 p, commit 3147d1f67ddd03e579d1ff19aea8b9cfeb490564'
--with-gcc-major-version-only --enable-libstdcxx-time --enable-lto
--disable-libstdcxx-pch --enable-shared --enable-threads=posix
--enable-__cxa_atexit --enable-clocale=gnu --disable-multilib
--disable-fixed-point --enable-libgomp --disable-libssp --disable-libada
--disable-standard-branch-protection --disable-systemtap
--disable-valgrind-annotations --disable-vtable-verify --disable-libvtv
--with-zstd --without-isl --enable-default-pie --enable-host-pie
--enable-host-bind-now --enable-default-ssp --disable-fixincludes
--with-build-config=bootstrap-O3
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 15.0.0 20240719 (experimental)
cea6473e48b4cfbf16f7b4a804f1562f8da8f25b (Gentoo Hardened 15.0.9999 p, commit
3147d1f67ddd03e579d1ff19aea8b9cfeb490564)
```
More information about the Gcc-bugs
mailing list