From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9D3663858C5E; Fri, 15 Mar 2024 11:17:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9D3663858C5E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1710501467; bh=/9+NLHMcVWjV6TYDQO9/t36mH/khOhoFMTc95T4o4hk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=tzpvBWqZW3t0qxyRe01Y+xDcNaG/ll5YN/ejjlqsnWqVuL+BzVH/kmWzHOpLxUVTa t8N7AFcJdu+ZJrhdNKHFQHdpBannpfWv8yTLr7Ytf490DqIaA6UsFdAqhPVGXuoK5n MwFOr9KU0FQSP0AyOiCsBWD/wdWJjvYD5Kc5m5Uk= From: "acoplan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/114323] [14 Regression] MVE vector load intrinsic miscompiled since r14-5622-g4d7647edfd7d98 Date: Fri, 15 Mar 2024 11:17:46 +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: 14.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: acoplan at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: clyon at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.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=3D114323 --- Comment #4 from Alex Coplan --- I think the problem is that the arm backend incorrectly sets the const attribute on this builtin, but it can't be const because it reads memory (it should be pure instead): sizes-gimplified unsigned V4SI size unit-size align:64 warn_if_not_align:0 symtab:0 alias-set -1 structural-equality attributes value >> nunits:4> HI size unit-size align:16 warn_if_not_align:0 symtab:0 alias-set -1 structural-equal= ity arg-types chain >> pointer_to_this > readonly addressable used nothrow public external built-in decl_5 decl_= 6 SI t.c:2:9 align:16 warn_if_not_align:0 built-in: BUILT_IN_MD:3923 context attributes chain chain >>> chain >=