public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "kocelfc at tutanota dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/114810] New: [14 Regression] internal compiler error: in lra_split_hard_reg_for, at lra-assigns.cc:1868  (unable to find a register to spill) {*andndi3_doubleword_bmi} with -m32 -mstackrealign -O2 -mbmi -fno-exceptions -fno-plt
Date: Mon, 22 Apr 2024 17:57:48 +0000	[thread overview]
Message-ID: <bug-114810-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 114810
           Summary: [14 Regression] internal compiler error: in
                    lra_split_hard_reg_for, at lra-assigns.cc:1868
                    (unable to find a register to spill)
                    {*andndi3_doubleword_bmi} with -m32 -mstackrealign -O2
                    -mbmi -fno-exceptions -fno-plt
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kocelfc at tutanota dot com
  Target Milestone: ---

Created attachment 58010
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58010&action=edit
preprocessed sources

g++ -m32 -mstackrealign -O2 -mbmi -fno-exceptions -fno-plt
aco_instruction_selection.cpp.ii

../mesa-9999/src/amd/compiler/aco_instruction_selection.cpp: In function ‘void
aco::{anonymous}::visit_load_push_constant(aco::isel_context*,
nir_intrinsic_instr*)’:
../mesa-9999/src/amd/compiler/aco_instruction_selection.cpp:5965:1: error:
unable to find a register to spill
../mesa-9999/src/amd/compiler/aco_instruction_selection.cpp:5965:1: error: this
is the insn:
(insn 1702 2054 2077 12 (parallel [
            (set (reg:DI 1118 [830])
                (and:DI (not:DI (reg:DI 876 [829]))
                    (reg:DI 1096 [orig:398 mask_81 ] [398])))
            (clobber (reg:CC 17 flags))
        ]) "../mesa-9999/src/amd/compiler/aco_instruction_selection.cpp":5894:7
703 {*andndi3_doubleword_bmi}
     (expr_list:REG_DEAD (reg:DI 1096 [orig:398 mask_81 ] [398])
        (expr_list:REG_DEAD (reg:DI 876 [829])
            (expr_list:REG_UNUSED (reg:CC 17 flags)
                (nil)))))
during RTL pass: reload
../mesa-9999/src/amd/compiler/aco_instruction_selection.cpp:5965:1: internal
compiler error: in lra_split_hard_reg_for, at lra-assigns.cc:1868
0x55a783a03d4f _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
       
/usr/src/debug/sys-devel/gcc-14.0.1_pre20240421/gcc-14-20240421/gcc/rtl-error.cc:108
0x55a784895f66 lra_split_hard_reg_for()
       
/usr/src/debug/sys-devel/gcc-14.0.1_pre20240421/gcc-14-20240421/gcc/lra-assigns.cc:1868
0x55a78488ecb7 lra(_IO_FILE*, int)
       
/usr/src/debug/sys-devel/gcc-14.0.1_pre20240421/gcc-14-20240421/gcc/lra.cc:2518
0x55a784838a79 do_reload
       
/usr/src/debug/sys-devel/gcc-14.0.1_pre20240421/gcc-14-20240421/gcc/ira.cc:5973
0x55a784838a79 execute
       
/usr/src/debug/sys-devel/gcc-14.0.1_pre20240421/gcc-14-20240421/gcc/ira.cc:6161

Configured with:
/var/tmp/portage/sys-devel/gcc-14.0.1_pre20240421/work/gcc-14-20240421/configure
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr
--bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/14
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/14/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/14
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/14/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/14/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14
--disable-silent-rules --disable-dependency-tracking
--with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/14/python
--enable-languages=c,c++ --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.1_pre20240421 p26' --with-gcc-major-version-only --enable-libstdcxx-time
--enable-lto --disable-libstdcxx-pch --enable-shared --enable-threads=posix
--enable-__cxa_atexit --enable-clocale=gnu --enable-multilib
--with-multilib-list=m32,m64 --disable-fixed-point --enable-targets=all
--disable-libgomp --disable-libssp --disable-libada --disable-cet
--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
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 14.0.1 20240421 (experimental) (Gentoo 14.0.1_pre20240421 p26)

             reply	other threads:[~2024-04-22 17:57 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-22 17:57 kocelfc at tutanota dot com [this message]
2024-04-22 17:58 ` [Bug target/114810] " kocelfc at tutanota dot com
2024-04-22 18:22 ` jakub at gcc dot gnu.org
2024-04-22 19:10 ` ubizjak at gmail dot com
2024-04-22 19:23 ` ubizjak at gmail dot com
2024-04-22 19:31 ` [Bug rtl-optimization/114810] " ubizjak at gmail dot com
2024-04-22 19:45 ` vmakarov at gcc dot gnu.org
2024-04-22 20:07 ` ubizjak at gmail dot com
2024-04-22 21:36 ` jakub at gcc dot gnu.org
2024-04-22 21:48 ` vmakarov at gcc dot gnu.org
2024-04-22 21:56 ` jakub at gcc dot gnu.org
2024-04-23  5:53 ` ubizjak at gmail dot com
2024-04-23  6:02 ` ubizjak at gmail dot com
2024-04-23 12:29 ` jakub at gcc dot gnu.org
2024-04-23 12:46 ` ubizjak at gmail dot com
2024-04-23 21:31 ` cvs-commit at gcc dot gnu.org
2024-04-23 21:31 ` jakub at gcc dot gnu.org
2024-05-08 16:39 ` cvs-commit at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-114810-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).