From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 799473857829; Tue, 24 May 2022 02:30:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 799473857829 From: "vital.had at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libitm/105710] New: libitm/alloc_c.cc:40:1: internal compiler error: in extract_insn, at recog.c:2770 Date: Tue, 24 May 2022 02:30:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libitm X-Bugzilla-Version: 11.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vital.had at gmail 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 cc target_milestone cf_gcctarget attachments.created 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: Tue, 24 May 2022 02:30:10 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D105710 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=3D53026&action=3Dedit 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/wor= k/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/wor= k/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] ) (reg:SI 126) ] UNSPEC_TLSGD)) "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_gcc11/gcc11/wo= rk/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/wor= k/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 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/wo= rk/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/wo= rk/build/ppc-apple-darwin10/libitm' make[2]: *** [all] Error 2 make[2]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_gcc11/gcc11/wo= rk/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.=