From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4E1603858C78; Wed, 1 Nov 2023 10:50:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4E1603858C78 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1698835813; bh=PfsrP2bhvnQ3zKHtABIEWY5NjacWyB7fU8U5eeOd4XA=; h=From:To:Subject:Date:From; b=eG0qV9bRA7wzGyueawh9zfqlY+tPZiH98Le6HH6Lp29b4l0sv5HT8XPlpYoiDLwIt UZN5yutUzQw+b/WefeXm2/1UNKea/sGH240CHTTszJ3i+DROEpVGU0bwi6b1cwGa0i pwHj1BeVTDTB2N3sTZA44lUi5KD3zZPT5snmvE0U= From: "slyfox at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/112332] New: [14 regression] ICE: internal compiler error: in extract_constrain_insn, at recog.cc:2705 Date: Wed, 01 Nov 2023 10:50:11 +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: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: slyfox at gcc dot gnu.org 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D112332 Bug ID: 112332 Summary: [14 regression] ICE: internal compiler error: in extract_constrain_insn, at recog.cc:2705 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: slyfox at gcc dot gnu.org Target Milestone: --- Noticed ICE today when attempted to build python-3.11.6 with gcc-master r14-5055-g7480dbb6e7891f. Extracted reproducer: // $ cat dtoa.c.c typedef union { double d; int L[2]; } U; void d2b(); char _Py_dg_dtoa(double dd) { int be; U u; u.d =3D dd; if ((&u)->L[1]) d2b(&be); goto failed_malloc; goto fast_failed; goto one_digit; goto no_digits; goto ret1; goto bump_up; fast_failed: bump_up: no_digits: one_digit: ret1: failed_malloc: return 0; } Crashing: ./gcc/xgcc -Bgcc -O2 -fstack-protector-strong dtoa.c.c -o a.o dtoa.c.c: In function =E2=80=98_Py_dg_dtoa=E2=80=99: dtoa.c.c:25:1: error: insn does not satisfy its constraints: 25 | } | ^ (insn 51 3 9 2 (parallel [ (set (mem/v/f/c:DI (plus:DI (reg/f:DI 7 sp) (const_int 8 [0x8])) [4 D.2786+0 S8 A64]) (unspec:DI [ (mem/v/f:DI (const_int 40 [0x28]) [5 MEM[( long unsigned int *)40B]+0 S8 A64 AS1]) ] UNSPEC_SP_SET)) (set (reg:DI 0 ax [orig:103 dd ] [103]) (reg:DI 20 xmm0 [109])) ]) "dtoa.c.c":10:6 1461 {*stack_protect_set_2_di_di} (expr_list:REG_DEAD (reg:DI 20 xmm0 [109]) (nil))) during RTL pass: cprop_hardreg dtoa.c.c:25:1: internal compiler error: in extract_constrain_insn, at recog.cc:2705 0x7ef71b _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /home/slyfox/dev/git/gcc/gcc/rtl-error.cc:108 0x7ef741 _fatal_insn_not_found(rtx_def const*, char const*, int, char const= *) /home/slyfox/dev/git/gcc/gcc/rtl-error.cc:118 0x7eddcb extract_constrain_insn(rtx_insn*) /home/slyfox/dev/git/gcc/gcc/recog.cc:2705 0xf60c47 copyprop_hardreg_forward_1 /home/slyfox/dev/git/gcc/gcc/regcprop.cc:836 0xf61d44 execute /home/slyfox/dev/git/gcc/gcc/regcprop.cc:1423 Compiler: $ ./gcc/xgcc -Bgcc -v Reading specs from gcc/specs COLLECT_GCC=3D./gcc/xgcc COLLECT_LTO_WRAPPER=3Dgcc/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /home/slyfox/dev/git/gcc/configure --disable-bootstrap --disable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 14.0.0 20231101 (experimental) (GCC)=