public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libitm/105710] New: libitm/alloc_c.cc:40:1: internal compiler error: in extract_insn, at recog.c:2770
@ 2022-05-24  2:30 vital.had at gmail dot com
  2022-05-24  2:35 ` [Bug target/105710] " pinskia at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: vital.had at gmail dot com @ 2022-05-24  2:30 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 105710
           Summary: libitm/alloc_c.cc:40:1: internal compiler error: in
                    extract_insn, at recog.c:2770
           Product: gcc
           Version: 11.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libitm
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vital.had at gmail dot com
                CC: iains at gcc dot gnu.org
  Target Milestone: ---
            Target: powerpc-apple-darwin

Created attachment 53026
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53026&action=edit
ii file produced with -v -save-temps

I have tried to rebuild gcc11 @11.3.0 with TLS enabled on 10.6 PPC, and it
failed in stage 3 on libitm:

checking for freelocale...
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_gcc11/gcc11/work/gcc-11.3.0/libitm/alloc_c.cc:
In function 'void* _ITM_malloc(size_t)':
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_gcc11/gcc11/work/gcc-11.3.0/libitm/alloc_c.cc:40:1:
error: unrecognizable insn:
   40 | }
      | ^
(insn 23 22 24 4 (set (reg:SI 3 r3)
        (unspec:SI [
                (symbol_ref:SI ("_ZN3GTM12_gtm_thr_tlsE") [flags 0x1252]
<var_decl 0x1c66054 _gtm_thr_tls>)
                (reg:SI 126)
            ] UNSPEC_TLSGD))
"/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_gcc11/gcc11/work/gcc-11.3.0/libitm/config/generic/tls.h":52:59
-1
     (nil))
during RTL pass: vregs
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_gcc11/gcc11/work/gcc-11.3.0/libitm/alloc_c.cc:40:1:
internal compiler error: in extract_insn, at recog.c:2770
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://trac.macports.org/newticket> for instructions.
make[4]: *** [alloc_c.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
yes
mv -f .deps/alloc.Tpo .deps/alloc.Plo
checking for uselocale... mv -f .deps/aatree.Tpo .deps/aatree.Plo
make[4]: Leaving directory
`/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_gcc11/gcc11/work/build/ppc-apple-darwin10/libitm'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_gcc11/gcc11/work/build/ppc-apple-darwin10/libitm'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_gcc11/gcc11/work/build/ppc-apple-darwin10/libitm'
make[1]: *** [all-target-libitm] Error 2

P. S. Yes, this is a non-standard OS version, but the same version of gcc11
built just fine with TLS disabled on it.

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

end of thread, other threads:[~2022-05-24 14:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-24  2:30 [Bug libitm/105710] New: libitm/alloc_c.cc:40:1: internal compiler error: in extract_insn, at recog.c:2770 vital.had at gmail dot com
2022-05-24  2:35 ` [Bug target/105710] " pinskia at gcc dot gnu.org
2022-05-24  2:39 ` [Bug target/105710] ICE on powerpc darwin with TLS enabled vital.had at gmail dot com
2022-05-24  2:40 ` pinskia at gcc dot gnu.org
2022-05-24  3:24 ` vital.had at gmail dot com
2022-05-24  6:31 ` iains at gcc dot gnu.org
2022-05-24  7:27 ` vital.had at gmail dot com
2022-05-24 13:51 ` egallager at gcc dot gnu.org
2022-05-24 14:01 ` iains at gcc dot gnu.org
2022-05-24 14:14 ` vital.had at gmail dot com

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