From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 515CB3858C41; Mon, 24 Jul 2023 08:11:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 515CB3858C41 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1690186319; bh=hLklme7emecgL/KgYeDOIFA8Rtp3QO6WuwZZBC3S4Ec=; h=From:To:Subject:Date:From; b=Va6Gmt+vMwmo3B8v9Dug6TbZUMoHGSJ7ZEwZis//PUTrlqcS0VWvbfWkMEBOjpTP6 PTDh3BW2ASzatm7oFbLdQPzi//ONLRpUq6L7Ks9PLP7cv0pAb48+icD4m+aV6RzApE FaIF+MTC8OrbBe7hHM6s15y/HnTyWjNGrcb0eku8= From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/110787] New: [14 regression] ICE building SYSTEM.def Date: Mon, 24 Jul 2023 08:11:58 +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: ro 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 cc target_milestone cf_gcctarget 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=3D110787 Bug ID: 110787 Summary: [14 regression] ICE building SYSTEM.def Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org CC: gaius at gcc dot gnu.org, sayle at gcc dot gnu.org, ubizjak at gmail dot com Target Milestone: --- Target: i386-pc-solaris2.11, i686-pc-linux-gnu, amd64-pc-solaris2.11, x86_64-pc-linux-gnu Between 20230721 and 20230723, Solaris/x86 and Linux/i686 bootstrap broke building SYSTEM.def in stage 2: /bin/ksh /vol/gcc/src/hg/master/local/gcc/m2/tools-src/makeSystem -fpim \ /vol/gcc/src/hg/master/local/gcc/m2/gm2-libs/SYSTEM.def \ /vol/gcc/src/hg/master/local/gcc/m2/gm2-libs/SYSTEM.mod \ -I/vol/gcc/src/hg/master/local/gcc/m2/gm2-libs \ " ./gm2 -B./ -B/vol/gcc/i386-pc-solaris2.11/bin/ -L/var/gcc/regression/master/11.4-gcc/build/gcc/../ld " /var/gcc/regression/master/11.4-gcc/build/gcc/m2/gm2-libs/SYSTEM.def terminate called after throwing an instance of 'unsigned int' during GIMPLE pass: cfg /vol/gcc/src/hg/master/local/gcc/m2/gm2-libs/SYSTEM.mod: In function =E2=80=98ShiftVal=E2=80=99: /vol/gcc/src/hg/master/local/gcc/m2/gm2-libs/SYSTEM.mod:77:1: internal comp= iler error: Abort 77 | BEGIN | ^~~~~ Please submit a full bug report, with preprocessed source (by using -freport-bug). See for instructions. SYSTEM module creates type: LOC SYSTEM module creates type: WORD SYSTEM module creates type: BYTE SYSTEM module creates type: ADDRESS SYSTEM module creates type: INTEGER8 SYSTEM module creates type: INTEGER16 SYSTEM module creates type: INTEGER32 SYSTEM module creates type: INTEGER64 SYSTEM module creates type: CARDINAL8 SYSTEM module creates type: CARDINAL16 SYSTEM module creates type: CARDINAL32 SYSTEM module creates type: CARDINAL64 SYSTEM module creates type: WORD16 SYSTEM module creates type: WORD32 SYSTEM module creates type: WORD64 SYSTEM module creates type: BITSET8 SYSTEM module creates type: BITSET16 SYSTEM module creates type: BITSET32 SYSTEM module creates type: REAL32 SYSTEM module creates type: REAL64 SYSTEM module creates type: REAL128 SYSTEM module creates type: COMPLEX32 SYSTEM module creates type: COMPLEX64 SYSTEM module creates type: COMPLEX128 SYSTEM module creates type: CSIZE_T SYSTEM module creates type: CSSIZE_T terminate called after throwing an instance of 'unsigned int' during GIMPLE pass: cfg /vol/gcc/src/hg/master/local/gcc/m2/gm2-libs/SYSTEM.mod: In function =E2=80=98ShiftVal=E2=80=99: /vol/gcc/src/hg/master/local/gcc/m2/gm2-libs/SYSTEM.mod:77:1: internal comp= iler error: Abort 77 | BEGIN | ^~~~~ A reghunt identified the following patch as the culprit: commit 59c38ddfe052a409a690380d0378169f4a3936ad Author: Roger Sayle Date: Sat Jul 22 21:50:06 2023 +0100 i386: Use QImode for offsets in zero_extract/sign_extract in i386.md It seems that the same patch also broke configuring 64-bit libphobos in Solaris/amd64 and Linux/x86_64 builds: configure: error: can't compile D sources! configure:5405: /var/gcc/regression/master/11.4-gcc-64/build/./gcc/gdc -B/var/gcc/regression/master/11.4-gcc-64/build/./gcc/ -B/vol/gcc/amd64-pc-solaris2.11/bin/ -B/vol/gcc/amd64-pc-solaris2.11/lib/ -isystem /vol/gcc/amd64-pc-solaris2.11/include -isystem /vol/gcc/amd64-pc-solaris2.11/sys-include -fno-checking -c -fno-druntime -nostdinc -I /vol/gcc/src/hg/master/local/libphobos/libdruntime -g -O2=20= =20 conftest.d >&5 : internal compiler error: Segmentation Fault 0x1a06ffa _D3dmd4root11stringtable__T11StringTableTCQBo10identifier10IdentifierZQBr10= allocValueMFNaNbMAxaQCcZk /vol/gcc/src/hg/master/local/gcc/d/dmd/root/stringtable.d:260 0x1a0743f _D3dmd4root11stringtable__T11StringTableTCQBo10identifier10IdentifierZQBr6u= pdateMFNaNbMAxaZPSQDnQDmQDk__T11StringValueTQDaZQs /vol/gcc/src/hg/master/local/gcc/d/dmd/root/stringtable.d:193 0x1a07526 _D3dmd10identifier10Identifier6idPoolFNbAxabZCQBsQBrQBi /vol/gcc/src/hg/master/local/gcc/d/dmd/identifier.d:279 0x1a02264 Id::initialize() /vol/gcc/src/hg/master/local/gcc/d/dmd/id.d-mixin-36:54=