https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112381
--- Comment #2 from Sam James <sjames at gcc dot gnu.org> --- ``` [...] In file included from ../mesa-23.2.1/src/util/u_debug.h:49, from ../mesa-23.2.1/src/util/format/u_format.h:35, from ../mesa-23.2.1/src/compiler/nir/nir.h:43, from ../mesa-23.2.1/src/compiler/nir/nir_opt_idiv_const.c:24: ../mesa-23.2.1/src/util/u_atomic.h:348:1: note: the alignment of ‘_Atomic long long int’ fields changed in GCC 11.1 348 | typedef int64_t __attribute__((aligned(_Alignof(_Atomic(int64_t))))) p_atomic_int64_t; | ^~~~~~~ ../mesa-23.2.1/src/compiler/nir/nir_opt_idiv_const.c: In function ‘nir_opt_idiv_const_instr’: ../mesa-23.2.1/src/compiler/nir/nir_opt_idiv_const.c:223:1: error: unable to find a register to spill 223 | } | ^ ../mesa-23.2.1/src/compiler/nir/nir_opt_idiv_const.c:223:1: error: this is the insn: (insn 1701 2092 2188 122 (parallel [ (set (reg:DI 911 [479]) (and:DI (not:DI (reg/v:DI 671 [orig:119 d ] [119])) (reg:DI 821 [389]))) (clobber (reg:CC 17 flags)) ]) "../mesa-23.2.1/src/compiler/nir/nir_opt_idiv_const.c":135:21 discrim 1 623 {*andndi3_doubleword_bmi} (expr_list:REG_DEAD (reg:DI 821 [389]) (expr_list:REG_DEAD (reg/v:DI 671 [orig:119 d ] [119]) (expr_list:REG_UNUSED (reg:CC 17 flags) (nil))))) during RTL pass: reload ../mesa-23.2.1/src/compiler/nir/nir_opt_idiv_const.c:223:1: internal compiler error: in lra_split_hard_reg_for, at lra-assigns.cc:1861 0x5638c60933fe internal_error(char const*, ...) ???:0 0x5638c60934ee fancy_abort(char const*, int, char const*) ???:0 0x5638c52ace1e _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) ???:0 0x5638c51a48f1 lra_split_hard_reg_for() ???: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. ```