From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7C0783858D35; Mon, 6 Feb 2023 19:50:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7C0783858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675713032; bh=d424t5jyxGuB8y6GDjusBk1zqcC5zCaF69kJc5gaOuM=; h=From:To:Subject:Date:From; b=C4cixjrdHi854Ieo4mHnWSN236WhpBgyjh2jib6F/1QkEQW9M7ugus7+tyFxvlGph PPD63buNZj9vStPRHpIZZbXsILGLhnaNryS2yD3bROQKDb5djPcfUENa+JyZ8Rjxf6 XsujubwxbKRG9nSZdZ+N/dK15d+0Vx9AXTOaP1dU= From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjLzEwODY4OF0gTmV3OiBlcnJvcjog4oCYYml0X2ZpZWxk?= =?UTF-8?B?X3JlZuKAmSBvZiBub24tbW9kZS1wcmVjaXNpb24gb3BlcmFuZA==?= Date: Mon, 06 Feb 2023 19:50:32 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail 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 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=3D108688 Bug ID: 108688 Summary: error: =E2=80=98bit_field_ref=E2=80=99 of non-mode-prec= ision operand Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- For this C code: union { signed f1 : 7; signed f2 : 2 } func_6_l_2225; g_139, g_417, func_6___trans_tmp_7; main() { for (; g_417; g_417 -=3D 1) { func_6_l_2225.f1 =3D g_139; func_6_l_2225.f2 ^=3D func_6___trans_tmp_7; } } Compiled by recent gcc, does this: $ ~/gcc/results/bin/gcc -c -O2 -w bug882.c bug882.c: In function =E2=80=98main=E2=80=99: bug882.c:6:1: error: =E2=80=98bit_field_ref=E2=80=99 of non-mode-precision = operand 6 | main() { | ^~~~ _ifc__31 =3D BIT_FIELD_REF <_2, 2, 0>; during GIMPLE pass: ifcvt bug882.c:6:1: internal compiler error: verify_gimple failed $ ~/gcc/results/bin/gcc -v 2>&1 | fgrep exp gcc version 13.0.1 20230206 (experimental) (45e01229af33a3dc)=20 $ The bug first seems to occur sometime between date 20221002 and 20221028.=