From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A6BE5392AC37; Mon, 5 Dec 2022 16:11:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A6BE5392AC37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1670256688; bh=wU5HQWBrFI3ONbXAmpPjqzxrZ6j2KZAqJVcGFNuRRag=; h=From:To:Subject:Date:In-Reply-To:References:From; b=PlBNpLPBHo2zuqL3Sdwi8ZtxMU2x3s94BsQ+xxITdOcLvv6c/DyQ30BDQH+eppyiM 3zT3j8PGljrRv1y67vC0T9BL5i179d3VvWFjFhdzI4LqrR4oiFQW6HfSNnyRu3rzGr AnbC0N31XKGyI3kZXbILuSDvyvhaIKET66GZeWDw= From: "mrjjot at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/107957] [AVR] Missed optimization in access to upper-half of a variable Date: Mon, 05 Dec 2022 16:11:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 12.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: mrjjot at gmail 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: 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=3D107957 --- Comment #1 from Jacek Wieczorek --- A little correction - I just noticed my mistake. Assembly for rawr() is in = fact correct. Apparently this happens only for variables longer than 16 bits.=