From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3FD543858002; Sat, 6 Mar 2021 19:46:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3FD543858002 From: "italolmm2018 at outlook dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/99432] New: ICE in extract_constrain_insn, at recog.c:2670 when building libgcc for i686 Date: Sat, 06 Mar 2021 19:46:12 +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: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: italolmm2018 at outlook dot com 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2021 19:46:13 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99432 Bug ID: 99432 Summary: ICE in extract_constrain_insn, at recog.c:2670 when building libgcc for i686 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: italolmm2018 at outlook dot com Target Milestone: --- gcc version 11.0.1 20210306 (experimental), configured with: ../configure --target=3Di686-elf --prefix=3D/home/italo/chos/toolchain/kernel/x86/out --enable-languages=3Dc,c++ --enable-lto --disable-multilib --without-headers --disable-nls --disable-werror Command Line: /home/italo/chos/toolchain/build/gcc/build/./gcc/xgcc -B/home/italo/chos/toolchain/build/gcc/build/./gcc/ -B/home/italo/chos/toolchain/kernel/x86/out/i686-elf/bin/ -B/home/italo/chos/toolchain/kernel/x86/out/i686-elf/lib/ -isystem /home/italo/chos/toolchain/kernel/x86/out/i686-elf/include -isystem /home/italo/chos/toolchain/kernel/x86/out/i686-elf/sys-include -g -O2 -O= 2=20 -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-error=3Dformat-diag -Wstrict-prototypes -Wmissing-prototypes -Wno-error=3Dformat-diag -Wold-style-definition -isys= tem ./include -fpic -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -Dinhibit_libc -fpic -I. -I. -I../.././gcc -I../../../libgcc -I../../../libgcc/. -I../../../libgcc/../gcc -I../../../libgcc/../include=20 -DHAVE_CC_TLS -Wno-missing-prototypes -Wno-type-limits -o divtf3.o -MT divtf3.o -MD -MP -MF divtf3.dep -c ../../../libgcc/soft-fp/divtf3.c -fvisibility=3Dhidden -DHIDE_EXPORTS Command Output: ../../../libgcc/soft-fp/divtf3.c: In function '__divtf3': ../../../libgcc/soft-fp/divtf3.c:51:1: error: unrecognizable insn: 51 | } | ^ (insn 1199 3373 3715 79 (parallel [ (set (reg:SI 5 di [623]) (asm_operands:SI ("sub{l} {%11,%3|%3,%11} sbb{l} {%9,%2|%2,%9} sbb{l} {%7,%1|%1,%7} sbb{l} {%5,%0|%0,%5}") ("=3Dr") 0 [ (reg:SI 5 di [623]) (mem/c:SI (plus:SI (reg/f:SI 6 bp) (const_int -80 [0xffffffffffffffb0])) [5 A_f[2]+0 S4 A64]) (reg:SI 1 dx [624]) (mem/c:SI (plus:SI (reg/f:SI 6 bp) (const_int -84 [0xffffffffffffffac])) [5 A_f[1]+0 S4 A32]) (reg:SI 4 si [625]) (mem/c:SI (plus:SI (reg/f:SI 6 bp) (const_int -88 [0xffffffffffffffa8])) [5 A_f[0]+0 S4 A128]) (reg:SI 0 ax [626]) (mem:SI (plus:SI (plus:SI (mult:SI (mem/c:SI (plus:= SI (reg/f:SI 6 bp) (const_int -112 [0xffffffffffffff90])) [10 %sfp+-88 S4 A32]) (const_int 4 [0x4])) (reg/f:SI 6 bp)) (const_int -40 [0xffffffffffffffd8])) [5 MEM[(unsigned int *)_7]+0 S4 A32]) ] [ (asm_input:SI ("0") ../../../libgcc/soft-fp/divtf3.c:46) (asm_input:SI ("g") ../../../libgcc/soft-fp/divtf3.c:46) (asm_input:SI ("1") ../../../libgcc/soft-fp/divtf3.c:46) (asm_input:SI ("g") ../../../libgcc/soft-fp/divtf3.c:46) (asm_input:SI ("2") ../../../libgcc/soft-fp/divtf3.c:46) (asm_input:SI ("g") ../../../libgcc/soft-fp/divtf3.c:46) (asm_input:SI ("3") ../../../libgcc/soft-fp/divtf3.c:46) (asm_input:SI ("g") ../../../libgcc/soft-fp/divtf3.c:46) ] [] ../../../libgcc/soft-fp/divtf3.c:46)) (set (reg:SI 1 dx [624]) (asm_operands:SI ("sub{l} {%11,%3|%3,%11} sbb{l} {%9,%2|%2,%9} sbb{l} {%7,%1|%1,%7} sbb{l} {%5,%0|%0,%5}") ("=3D&r") 1 [ (reg:SI 5 di [623]) (mem/c:SI (plus:SI (reg/f:SI 6 bp) (const_int -80 [0xffffffffffffffb0])) [5 A_f[2]+0 S4 A64]) (reg:SI 1 dx [624]) (mem/c:SI (plus:SI (reg/f:SI 6 bp) (const_int -84 [0xffffffffffffffac])) [5 A_f[1]+0 S4 A32]) (reg:SI 4 si [625]) (mem/c:SI (plus:SI (reg/f:SI 6 bp) (const_int -88 [0xffffffffffffffa8])) [5 A_f[0]+0 S4 A128]) (reg:SI 0 ax [626]) (mem:SI (plus:SI (plus:SI (mult:SI (mem/c:SI (plus:= SI (reg/f:SI 6 bp) (const_int -112 [0xffffffffffffff90])) [10 %sfp+-88 S4 A32]) (const_int 4 [0x4])) (reg/f:SI 6 bp)) (const_int -40 [0xffffffffffffffd8])) [5 MEM[(unsigned int *)_7]+0 S4 A32]) ] [ (asm_input:SI ("0") ../../../libgcc/soft-fp/divtf3.c:46) (asm_input:SI ("g") ../../../libgcc/soft-fp/divtf3.c:46) (asm_input:SI ("1") ../../../libgcc/soft-fp/divtf3.c:46) (asm_input:SI ("g") ../../../libgcc/soft-fp/divtf3.c:46) (asm_input:SI ("2") ../../../libgcc/soft-fp/divtf3.c:46) (asm_input:SI ("g") ../../../libgcc/soft-fp/divtf3.c:46) (asm_input:SI ("3") ../../../libgcc/soft-fp/divtf3.c:46) (asm_input:SI ("g") ../../../libgcc/soft-fp/divtf3.c:46) ] [] ../../../libgcc/soft-fp/divtf3.c:46)) (set (reg:SI 4 si [625]) (asm_operands:SI ("sub{l} {%11,%3|%3,%11} sbb{l} {%9,%2|%2,%9} sbb{l} {%7,%1|%1,%7} sbb{l} {%5,%0|%0,%5}") ("=3D&r") 2 [ (reg:SI 5 di [623]) (mem/c:SI (plus:SI (reg/f:SI 6 bp) (const_int -80 [0xffffffffffffffb0])) [5 A_f[2]+0 S4 A64]) (reg:SI 1 dx [624]) (mem/c:SI (plus:SI (reg/f:SI 6 bp) (const_int -84 [0xffffffffffffffac])) [5 A_f[1]+0 S4 A32]) (reg:SI 4 si [625]) (mem/c:SI (plus:SI (reg/f:SI 6 bp) (const_int -88 [0xffffffffffffffa8])) [5 A_f[0]+0 S4 A128]) (reg:SI 0 ax [626]) (mem:SI (plus:SI (plus:SI (mult:SI (mem/c:SI (plus:= SI (reg/f:SI 6 bp) (const_int -112 [0xffffffffffffff90])) [10 %sfp+-88 S4 A32]) (const_int 4 [0x4])) (reg/f:SI 6 bp)) (const_int -40 [0xffffffffffffffd8])) [5 MEM[(unsigned int *)_7]+0 S4 A32]) ] [ (asm_input:SI ("0") ../../../libgcc/soft-fp/divtf3.c:46) (asm_input:SI ("g") ../../../libgcc/soft-fp/divtf3.c:46) (asm_input:SI ("1") ../../../libgcc/soft-fp/divtf3.c:46) (asm_input:SI ("g") ../../../libgcc/soft-fp/divtf3.c:46) (asm_input:SI ("2") ../../../libgcc/soft-fp/divtf3.c:46) (asm_input:SI ("g") ../../../libgcc/soft-fp/divtf3.c:46) (asm_input:SI ("3") ../../../libgcc/soft-fp/divtf3.c:46) (asm_input:SI ("g") ../../../libgcc/soft-fp/divtf3.c:46) ] [] ../../../libgcc/soft-fp/divtf3.c:46)) (set (reg:SI 0 ax [626]) (asm_operands:SI ("sub{l} {%11,%3|%3,%11} sbb{l} {%9,%2|%2,%9} sbb{l} {%7,%1|%1,%7} sbb{l} {%5,%0|%0,%5}") ("=3D&r") 3 [ (reg:SI 5 di [623]) (mem/c:SI (plus:SI (reg/f:SI 6 bp) (const_int -80 [0xffffffffffffffb0])) [5 A_f[2]+0 S4 A64]) (reg:SI 1 dx [624]) (mem/c:SI (plus:SI (reg/f:SI 6 bp) (const_int -84 [0xffffffffffffffac])) [5 A_f[1]+0 S4 A32]) (reg:SI 4 si [625]) (mem/c:SI (plus:SI (reg/f:SI 6 bp) (const_int -88 [0xffffffffffffffa8])) [5 A_f[0]+0 S4 A128]) (reg:SI 0 ax [626]) (mem:SI (plus:SI (plus:SI (mult:SI (mem/c:SI (plus:= SI (reg/f:SI 6 bp) (const_int -112 [0xffffffffffffff90])) [10 %sfp+-88 S4 A32]) (const_int 4 [0x4])) (reg/f:SI 6 bp)) (const_int -40 [0xffffffffffffffd8])) [5 MEM[(unsigned int *)_7]+0 S4 A32]) ] [ (asm_input:SI ("0") ../../../libgcc/soft-fp/divtf3.c:46) (asm_input:SI ("g") ../../../libgcc/soft-fp/divtf3.c:46) (asm_input:SI ("1") ../../../libgcc/soft-fp/divtf3.c:46) (asm_input:SI ("g") ../../../libgcc/soft-fp/divtf3.c:46) (asm_input:SI ("2") ../../../libgcc/soft-fp/divtf3.c:46) (asm_input:SI ("g") ../../../libgcc/soft-fp/divtf3.c:46) (asm_input:SI ("3") ../../../libgcc/soft-fp/divtf3.c:46) (asm_input:SI ("g") ../../../libgcc/soft-fp/divtf3.c:46) ] [] ../../../libgcc/soft-fp/divtf3.c:46)) (clobber (reg:CC 17 flags)) ]) "../../../libgcc/soft-fp/divtf3.c":46:3 -1 (nil)) during RTL pass: reload ../../../libgcc/soft-fp/divtf3.c:51:1: internal compiler error: in extract_constrain_insn, at recog.c:2670 0x6adfb2 _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) ../../gcc/rtl-error.c:108 0x6adfce _fatal_insn_not_found(rtx_def const*, char const*, int, char const= *) ../../gcc/rtl-error.c:116 0x6ac5f0 extract_constrain_insn(rtx_insn*) ../../gcc/recog.c:2670 0xc2c387 check_rtl ../../gcc/lra.c:2087 0xc30361 lra(_IO_FILE*) ../../gcc/lra.c:2505 0xbeaa89 do_reload ../../gcc/ira.c:5827 0xbeaa89 execute ../../gcc/ira.c:6013 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. Preprocessed File: https://pastebin.com/raw/VKvFbsEu=