From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6852E3858D28; Sat, 8 Jun 2024 14:23:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6852E3858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1717856636; bh=XpqUp58LnVC68Ux9zfkt7LK7TdQOP+VYS0iwi0BZgPs=; h=From:To:Subject:Date:From; b=kocZYi+FupsRJHffkA4BtUpuu9/tGCy7iT5kAan9ep/IQjlHnQLYQ6Vwlj9dafU6v Jr4ZSRCpOvonUbWw1n3aDt2lvXEIuCvb9Cd0vicKxN8888tkMNUqVbE2+28hUCJO8D Vn9SuERKjfkuoZ8Qyf5QDyWFlKrws69N+RJdEnk8= From: "slyfox at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/115397] New: [15 Regression] ICE 'during RTL pass: split1' on numpy-1.26.4 i686-linux '-fPIC -mavx512f' Date: Sat, 08 Jun 2024 14:23:55 +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: slyfox 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 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=3D115397 Bug ID: 115397 Summary: [15 Regression] ICE 'during RTL pass: split1' on numpy-1.26.4 i686-linux '-fPIC -mavx512f' Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: slyfox at gcc dot gnu.org Target Milestone: --- Noticed on gcc master from r15-1111-ge22b7f741ab54f today. There numpy on i686-linux ICEs. Extracted example: // $ cat bug.c.c int LONG_divide_AVX512F_dimensions_0; void npy_set_floatstatus_overflow(); void LONG_divide_AVX512F() { long *src; int raise_err =3D 0; for (; LONG_divide_AVX512F_dimensions_0; --LONG_divide_AVX512F_dimensions_0, ++src) { long a =3D *src; if (a) raise_err =3D 1; } if (raise_err) npy_set_floatstatus_overflow(); } Crashing: $ gcc -std=3Dc99 -fPIC -mavx512f -c bug.c.c -o bug.o -O3 during RTL pass: split1 bug.c.c: In function 'LONG_divide_AVX512F': bug.c.c:14:1: internal compiler error: Segmentation fault 14 | } | ^ 0x9a3deba diagnostic_impl(rich_location*, diagnostic_metadata const*, int, = char const*, char**, diagnostic_t) ???:0 0x9a3e33c internal_error(char const*, ...) ???:0 0x898434a crash_signal(int) ???:0 0x8329133 get_pool_constant(rtx_def const*) [clone .cold] ???:0 0x8dbcd04 ix86_broadcast_from_constant(machine_mode, rtx_def*) ???:0 0x8ddee5c ix86_expand_ternlog(machine_mode, rtx_def*, rtx_def*, rtx_def*, i= nt, rtx_def*) ???:0 0x937cdc7 gen_split_1359(rtx_insn*, rtx_def**) ???:0 0x95a1992 split_70(rtx_def*, rtx_insn*) [clone .isra.0] ???:0 0x977abbb split_73(rtx_def*, rtx_insn*) ???:0 0x85793de try_split(rtx_def*, rtx_insn*, int) ???:0 0x88e8db6 split_insn(rtx_insn*) ???:0 0x88ee33e split_all_insns() ???:0 0x88ee3f7 (anonymous namespace)::pass_split_all_insns::execute(function*) ???: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=3D/<>/gfortran-15.0.0/bin/gcc COLLECT_LTO_WRAPPER=3D/<>/gfortran-15.0.0/libexec/gcc/i686-unknown-lin= ux-gnu/15.0.0/lto-wrapper Target: i686-unknown-linux-gnu Configured with: ../source/configure --prefix=3D/<>/gfortran-15.0.0 --with-gmp-include=3D/<>/gmp-6.3.0-dev/include --with-gmp-lib=3D/<>/gmp-6.3.0/lib --with-mpfr-include=3D/<>/mpfr-4.2.1-dev/include --with-mpfr-lib=3D/<>/mpfr-4.2.1/lib --with-mpc=3D/<>/libmpc-1.3.1 --with-native-system-header-dir=3D/<>/glibc-2.39-52-dev/include --with-build-sysroot=3D/ --with-gxx-include-dir=3D/<>/gfortran-15.0.0/include/c++/15.0.0/ --program-prefix=3D --enable-lto --disable-libstdcxx-pch --without-included-gettext --with-system-zlib --enable-checking=3Drelease --enable-static --enable-languages=3Dfortran --disable-multilib --enable-pl= ugin --disable-libcc1 --with-isl=3D/<>/isl-0.20 --with-arch=3Di686 --build=3Di686-unknown-linux-gnu --host=3Di686-unknown-linux-gnu --target=3Di686-unknown-linux-gnu Thread model: posix Supported LTO compression algorithms: zlib gcc version 15.0.0 99999999 (experimental) (GCC)=