public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/99432] New: ICE in extract_constrain_insn, at recog.c:2670 when building libgcc for i686
@ 2021-03-06 19:46 italolmm2018 at outlook dot com
  2021-03-06 20:38 ` [Bug target/99432] " pinskia at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: italolmm2018 at outlook dot com @ 2021-03-06 19:46 UTC (permalink / raw)
  To: gcc-bugs

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

            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=i686-elf --prefix=/home/italo/chos/toolchain/kernel/x86/out
--enable-languages=c,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 -O2 
-g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wno-narrowing
-Wwrite-strings -Wcast-qual -Wno-error=format-diag -Wstrict-prototypes
-Wmissing-prototypes -Wno-error=format-diag -Wold-style-definition  -isystem
./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 
-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=hidden -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}") ("=r") 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}") ("=&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}") ("=&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}") ("=&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 <https://gcc.gnu.org/bugs/> for instructions.

Preprocessed File: https://pastebin.com/raw/VKvFbsEu

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/99432] ICE in extract_constrain_insn, at recog.c:2670 when building libgcc for i686
  2021-03-06 19:46 [Bug target/99432] New: ICE in extract_constrain_insn, at recog.c:2670 when building libgcc for i686 italolmm2018 at outlook dot com
@ 2021-03-06 20:38 ` pinskia at gcc dot gnu.org
  2021-03-07  2:27 ` pinskia at gcc dot gnu.org
  2021-03-16 19:26 ` jakub at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-03-06 20:38 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |99422

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is most likely a dup of bug 99422.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99422
[Bug 99422] [11 Regression] ICE in extract_constrain_insn building glibc
pthread_create

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/99432] ICE in extract_constrain_insn, at recog.c:2670 when building libgcc for i686
  2021-03-06 19:46 [Bug target/99432] New: ICE in extract_constrain_insn, at recog.c:2670 when building libgcc for i686 italolmm2018 at outlook dot com
  2021-03-06 20:38 ` [Bug target/99432] " pinskia at gcc dot gnu.org
@ 2021-03-07  2:27 ` pinskia at gcc dot gnu.org
  2021-03-16 19:26 ` jakub at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-03-07  2:27 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup in the end.

*** This bug has been marked as a duplicate of bug 99422 ***

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/99432] ICE in extract_constrain_insn, at recog.c:2670 when building libgcc for i686
  2021-03-06 19:46 [Bug target/99432] New: ICE in extract_constrain_insn, at recog.c:2670 when building libgcc for i686 italolmm2018 at outlook dot com
  2021-03-06 20:38 ` [Bug target/99432] " pinskia at gcc dot gnu.org
  2021-03-07  2:27 ` pinskia at gcc dot gnu.org
@ 2021-03-16 19:26 ` jakub at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-03-16 19:26 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99432
Bug 99432 depends on bug 99422, which changed state.

Bug 99422 Summary: [11 Regression] ICE in extract_constrain_insn building glibc pthread_create
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99422

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-03-16 19:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-06 19:46 [Bug target/99432] New: ICE in extract_constrain_insn, at recog.c:2670 when building libgcc for i686 italolmm2018 at outlook dot com
2021-03-06 20:38 ` [Bug target/99432] " pinskia at gcc dot gnu.org
2021-03-07  2:27 ` pinskia at gcc dot gnu.org
2021-03-16 19:26 ` jakub at gcc dot gnu.org

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).