From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C4906386EC42; Thu, 11 Mar 2021 10:13:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C4906386EC42 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/99422] [11 Regression] ICE in extract_constrain_insn building glibc pthread_create Date: Thu, 11 Mar 2021 10:13:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Thu, 11 Mar 2021 10:13:34 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99422 --- Comment #24 from Eric Botcazou --- > Technically, you have ;-) There's gcc211 in the cfarm, but > unfortunately the installation is highly nonstandard, doesn't follow > cfarm conventions, and lacks GNAT. While I do have a local gcc > installation on the box without these issues, I agree it would be quite > tedious to use. I suspect that the same issue occurs on Linux/sparc64, > too (gcc202), but trying that on a machine that's pretty unreliable > wouldn't be my idea of fun. This can be reproduced with a minimal Ada cross-compiler, i.e. you just need the gnat1 compiler, the skeleton of libada and the command line: $(srcdir)/configure --target=3Dsparc-sun-solaris2.11 --enable-languages=3Dc,c++,ada make CFLAGS=3D-g CXXFLAGS=3D-g ADAFLAGS=3D"-gnatpga -gnatws" cd gcc/ada; make gnatlib cd rts; ../../gnat1 -quiet a-lfztio.ads -gnatpg a-ztflau.adb: In function 'Ada.Long_Float_Wide_Wide_Text_Io.Aux_Float.Put': a-ztflau.adb:101:8: error: insn does not satisfy its constraints: (insn 32 31 88 2 (set (mem/c:DF (plus:SI (reg/f:SI 30 %fp) (const_int -5232 [0xffffffffffffeb90])) [29 %sfp+-5232 S8 A= 64]) (reg:DF 40 %f8 [orig:109 _1 ] [109])) "a-ztflau.adb":99:7 153 {*movdf_insn_sp32} (nil)) during RTL pass: reload +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3DGNAT BUG DETECTED=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+ | 11.0.1 20210310 (experimental) [master revision 1c3c12b0a6f:f62bd375583:47403a0eefac52636db768dc46c3c88a2cd4b28e] (sparc-sun-solaris2.11) GCC error:| | in extract_constrain_insn, at recog.c:2670 | | Error detected around a-ztflau.adb:101:8=