public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/112280] New: ICE building libgcrypt-1.10.2 on s390 (during GIMPLE pass: ccp)
@ 2023-10-29 20:48 sjames at gcc dot gnu.org
  2023-10-29 20:48 ` [Bug target/112280] " sjames at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: sjames at gcc dot gnu.org @ 2023-10-29 20:48 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112280

            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=56471&action=edit
rijndael.i.xz

Reproduces with just s390-ibm-linux-gnu-gcc -c rijndael.i -O3 -march=native.

```
$ 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=native -fvisibility=hidden -fno-delete-null-pointer-checks
-Wall -c
/var/tmp/portage/dev-libs/libgcrypt-1.10.2/work/libgcrypt-1.10.2/cipher/rijndael.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/rijndael.c:
In function ‘_gcry_aes_xts_crypt’:
/var/tmp/portage/dev-libs/libgcrypt-1.10.2/work/libgcrypt-1.10.2/cipher/rijndael.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_def*,
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_node*
(*)(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 <https://bugs.gentoo.org/> for instructions.
```

```
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/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/configure
--host=s390-ibm-linux-gnu --build=s390-ibm-linux-gnu --prefix=/usr
--bindir=/usr/s390-ibm-linux-gnu/gcc-bin/14
--includedir=/usr/lib/gcc/s390-ibm-linux-gnu/14/include
--datadir=/usr/share/gcc-data/s390-ibm-linux-gnu/14
--mandir=/usr/share/gcc-data/s390-ibm-linux-gnu/14/man
--infodir=/usr/share/gcc-data/s390-ibm-linux-gnu/14/info
--with-gxx-include-dir=/usr/lib/gcc/s390-ibm-linux-gnu/14/include/g++-v14
--disable-silent-rules --disable-dependency-tracking
--with-python-dir=/share/gcc-data/s390-ibm-linux-gnu/14/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
14.0.0_pre20231022-r1 p7' --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-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)
```

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-01-12  6:59 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-29 20:48 [Bug target/112280] New: ICE building libgcrypt-1.10.2 on s390 (during GIMPLE pass: ccp) sjames at gcc dot gnu.org
2023-10-29 20:48 ` [Bug target/112280] " sjames at gcc dot gnu.org
2023-10-29 21:36 ` [Bug target/112280] [14 regression] " sjames at gcc dot gnu.org
2023-10-29 21:36 ` sjames at gcc dot gnu.org
2023-10-30  8:01 ` sjames at gcc dot gnu.org
2023-10-30 14:10 ` rguenth at gcc dot gnu.org
2023-10-31 17:12 ` sjames at gcc dot gnu.org
2023-11-05 23:20 ` pinskia at gcc dot gnu.org
2023-11-06  2:22 ` pinskia at gcc dot gnu.org
2023-11-28 16:13 ` sjames at gcc dot gnu.org
2024-01-11 14:00 ` rguenth at gcc dot gnu.org
2024-01-12  6:58 ` cvs-commit at gcc dot gnu.org
2024-01-12  6:59 ` rguenth 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).