From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 70F2F3858000; Thu, 9 Feb 2023 15:07:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 70F2F3858000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675955233; bh=0XtabPbEVDzI8BB8FzuFBpxszxxX3X7ImTyGK+0ATto=; h=From:To:Subject:Date:In-Reply-To:References:From; b=CE6rmZm+pMP/r7NaN1a1xs130N9UYiU+y/T41pshTDPlcW+/xbrGvmsz8xl+koNsN s0ys2J6Z8eDaG5BWpHaUZa75u7SMzHO3le7rTJQ0hsiPJBKCHTjlzBA2OXDGak34UO 8D31ai7qTSeOJXZhh/Lxjqih7Y51lX8NpvlK0dLY= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88739] [7 Regression] Big-endian union bug Date: Thu, 09 Feb 2023 15:07:09 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88739 --- Comment #64 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:44f308e59bfa0f93ae05b17e257d8563c12399fd commit r13-5757-g44f308e59bfa0f93ae05b17e257d8563c12399fd Author: Andrew Pinski Date: Thu Feb 9 16:03:54 2023 +0100 match.pd: When simplifying BFR of an insert, require a mode precision integral type [PR108688] The same problem as PR 88739 has crept in but this time in match.pd when simplifying bit_field_ref of an bit_insert. That is we are generating a BIT_FIELD_REF of a non-mode-precision integral type. PR tree-optimization/108688 * match.pd (bit_field_ref [bit_insert]): Avoid generating BIT_FIELD_REFs of non-mode-precision integral operands. * gcc.c-torture/compile/pr108688-1.c: New test.=