From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0116C385C6EA; Sun, 29 Oct 2023 20:48:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0116C385C6EA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1698612487; bh=JKAubyV5uCRbiMu9JcIAA344UMfZleDQdu/WzBe5FKQ=; h=From:To:Subject:Date:From; b=hxwFBJSBVqzdsctNPEGBgfXMXwOjHy5fiECTEK6Wm/ZQRK+YkW7ugJO+bwlBEWlot 3IEHy78z9dxH+KIyLAE3O2LMWhd+Wgv4uoe6gP3684g7JREOx8ckBxh372GM4HQID+ ma1KvCxL8Khz92ndgDQP35NbUs4CqK/EUhtc9keo= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/112280] New: ICE building libgcrypt-1.10.2 on s390 (during GIMPLE pass: ccp) Date: Sun, 29 Oct 2023 20:48:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sjames at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D112280 Bug ID: 112280 Summary: ICE building libgcrypt-1.10.2 on s390 (during GIMPLE pass: ccp) Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org Target Milestone: --- Created attachment 56471 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D56471&action=3Dedit rijndael.i.xz Reproduces with just s390-ibm-linux-gnu-gcc -c rijndael.i -O3 -march=3Dnati= ve. ``` $ s390-ibm-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libgcrypt-1.10.2/work/libgcrypt-1.10.2/cipher -= I.. -I../src -I/var/tmp/portage/dev-libs/libgcrypt-1.10.2/work/libgcrypt-1.10.2= /src -I../mpi -I/var/tmp/portage/dev-libs/libgcrypt-1.10.2/work/libgcrypt-1.10.2= /mpi -O3 -pipe -march=3Dnative -fvisibility=3Dhidden -fno-delete-null-pointer-ch= ecks -Wall -c /var/tmp/portage/dev-libs/libgcrypt-1.10.2/work/libgcrypt-1.10.2/cipher/rij= ndael.c -fPIC -DPIC -o .libs/rijndael.o during GIMPLE pass: ccp /var/tmp/portage/dev-libs/libgcrypt-1.10.2/work/libgcrypt-1.10.2/cipher/rij= ndael.c: In function =E2=80=98_gcry_aes_xts_crypt=E2=80=99: /var/tmp/portage/dev-libs/libgcrypt-1.10.2/work/libgcrypt-1.10.2/cipher/rij= ndael.c:1467:1: internal compiler error: Segmentation fault 1467 | _gcry_aes_xts_crypt (void *context, unsigned char *tweak, | ^~~~~~~~~~~~~~~~~~~ 0x578a8971 internal_error(char const*, ...) ???:0 0x561044b4 gen_rtx_SUBREG(machine_mode, rtx_def*, poly_int<1u, unsigned long long>) ???:0 0x56cff0b5 s390_vectorize_vec_perm_const(machine_mode, machine_mode, rtx_de= f*, rtx_def*, rtx_def*, vec_perm_indices const&) ???:0 0x56565995 can_vec_perm_const_p(machine_mode, machine_mode, vec_perm_indices const&, bool) ???:0 0x5777c0bf gimple_simplify_VEC_PERM_EXPR(gimple_match_op*, gimple**, tree_n= ode* (*)(tree_node*), code_helper, tree_node*, tree_node*, tree_node*, tree_node= *) ???:0 0x56ea311d gimple_simplify(gimple_match_op*, gimple**, tree_node* (*)(tree_node*), code_helper, tree_node*, tree_node*, tree_node*, tree_node= *) ???:0 0x56fa3df9 gimple_simplify(gimple*, gimple_match_op*, gimple**, tree_node* (*)(tree_node*), tree_node* (*)(tree_node*)) ???:0 0x56242f6f gimple_fold_stmt_to_constant_1(gimple*, tree_node* (*)(tree_node= *), tree_node* (*)(tree_node*)) ???:0 0x56a19947 ssa_propagation_engine::simulate_stmt(gimple*) ???:0 0x56a19d8d ssa_propagation_engine::simulate_block(basic_block_def*) ???:0 0x56a1a411 ssa_propagation_engine::ssa_propagate() ???:0 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See for instructions. ``` ``` $ gcc -v Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/usr/libexec/gcc/s390-ibm-linux-gnu/14/lto-wrapper Target: s390-ibm-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-14.0.0_pre20231022-r1/work/gcc-14-20231022/c= onfigure --host=3Ds390-ibm-linux-gnu --build=3Ds390-ibm-linux-gnu --prefix=3D/usr --bindir=3D/usr/s390-ibm-linux-gnu/gcc-bin/14 --includedir=3D/usr/lib/gcc/s390-ibm-linux-gnu/14/include --datadir=3D/usr/share/gcc-data/s390-ibm-linux-gnu/14 --mandir=3D/usr/share/gcc-data/s390-ibm-linux-gnu/14/man --infodir=3D/usr/share/gcc-data/s390-ibm-linux-gnu/14/info --with-gxx-include-dir=3D/usr/lib/gcc/s390-ibm-linux-gnu/14/include/g++-v14 --disable-silent-rules --disable-dependency-tracking --with-python-dir=3D/share/gcc-data/s390-ibm-linux-gnu/14/python --enable-languages=3Dc,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --disable-libunwind-exceptions --enable-checking=3Dyes,extra,rtl --with-bugurl=3Dhttps://bugs.gentoo.org/ --with-pkgversion=3D'Gentoo 14.0.0_pre20231022-r1 p7' --with-gcc-major-version-only --enable-libstdcxx-= time --enable-lto --disable-libstdcxx-pch --enable-shared --enable-threads=3Dpos= ix --enable-__cxa_atexit --enable-clocale=3Dgnu --disable-multilib --disable-fixed-point --enable-libgomp --disable-libssp --disable-libada --disable-cet --disable-systemtap --disable-valgrind-annotations --disable-vtable-verify --disable-libvtv --without-zstd --without-isl --disable-libsanitizer --enable-default-pie --enable-host-pie --disable-host-bind-now --enable-default-ssp Thread model: posix Supported LTO compression algorithms: zlib gcc version 14.0.0 20231022 (experimental) (Gentoo 14.0.0_pre20231022-r1 p7) ```=