From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 34F8C3854171; Fri, 21 Oct 2022 11:36:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 34F8C3854171 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666352161; bh=k7rTCATaKhGM4/xciYEjejW8mh+sNzNpD6fkD+ha7dw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jtg1LGT7W+Hh5A5GEawR/wp5GGdNqGW+62thKwVdbcYatTylHAAytjnNve3Ie0qAl YxiGPQ0TLdxahE1jOfPvV0Gv4gyJJUouOagmiuXq/QYvA+GyKl9r4E8W4Zpp1IDOIf CmLRE332GnhGo3NKKJlp6S0MtiRsPKZ658tx+Yhk= From: "avieira at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/107346] [13 Regression] gnat.dg/loop_optimization23_pkg.ad failure afer r13-3413-ge10ca9544632db Date: Fri, 21 Oct 2022 11:35:56 +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: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: avieira at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: avieira at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107346 --- Comment #4 from avieira at gcc dot gnu.org --- Funnily enough, if I transform the Int24 into a 32-bit integer in the testc= ase and disable all bitfield lowering just to make sure, I get the same failure= . I tried using __attribute__((packed)) in C to reproduce this, but I keep gett= ing a 32-bit offset... Either way, I will test a patch where vect_check_gather_scatter bails out if pbitpos isn't a multiple of BITS_PER_UNIT.=