https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122438
Bug ID: 122438
Summary: [m68k] internal compiler error: in
extract_constrain_insn, at recog.cc:2783
Product: gcc
Version: 15.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: glaubitz at physik dot fu-berlin.de
CC: schwab at gcc dot gnu.org, sjames at gcc dot gnu.org
Target Milestone: ---
Trying to build sqlite3 with GCC 15 on m68k fails with:
/<<PKGBUILDDIR>>/tool/showdb.c: In function 'main':
/<<PKGBUILDDIR>>/tool/showdb.c:1251:1: error: insn does not satisfy its
constraints:
1251 | }
| ^
(insn 2510 2509 2511 184 (parallel [
(set (mem/c:DI (plus:SI (reg/f:SI 14 %a6)
(const_int -596 [0xfffffffffffffdac])) [31 %sfp+-596 S8
A16])
(plus:DI (mem/c:DI (plus:SI (reg/f:SI 14 %a6)
(const_int -596 [0xfffffffffffffdac])) [31
%sfp+-596 S8 A16])
(reg:DI 0 %d0 [orig:1158+-4 ] [1158])))
(clobber (reg:SI 0 %d0))
]) "/<<PKGBUILDDIR>>/tool/showdb.c":454:11 discrim 1 148 {adddi3}
(nil))
during RTL pass: postreload
/<<PKGBUILDDIR>>/tool/showdb.c:1251:1: internal compiler error: in
extract_constrain_insn, at recog.cc:2783
0x814ec631 internal_error(char const*, ...)
../../src/gcc/diagnostic-global-context.cc:517
0x801c4d99 fancy_abort(char const*, int, char const*)
../../src/gcc/diagnostic.cc:1749
0x801c3901 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
../../src/gcc/rtl-error.cc:108
0x801c393d _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
../../src/gcc/rtl-error.cc:118
0x80803cf3 extract_constrain_insn(rtx_insn*)
../../src/gcc/recog.cc:2783
0x80794f93 reload_cse_simplify_operands
../../src/gcc/postreload.cc:491
0x80795acf reload_cse_simplify
../../src/gcc/postreload.cc:180
0x80795acf reload_cse_regs_1
../../src/gcc/postreload.cc:320
0x807973df reload_cse_regs
../../src/gcc/postreload.cc:66
0x807973df execute
../../src/gcc/postreload.cc:2461
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-15/README.Bugs> for instructions.
Preprocessed source stored into /tmp/ccIulm8q.out file, please attach this to
your bugreport.
Full build log available in:
https://buildd.debian.org/status/fetch.php?pkg=sqlite3&arch=m68k&ver=3.46.1-8&stamp=1757485051&raw=0