From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D923B3858C5E; Mon, 2 Oct 2023 17:58:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D923B3858C5E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1696269531; bh=RAnU9CyLtrC0yZrKcwFHixyXzcPNJ5HQ6XHiCzwpDxM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ghDD+7LOIA2LFyAVdN2rQiyQI8BOMGYx+GVSLjVAF6Ru1irX3dvqHQU+dxmQkF93B DgV9+XKGVF1Ebg4ZVl5OvDPs284Eo+QAq3LldlBM2ldIY60lKuPRlN+mPr4BOG6fJT TvRNlFmOITsh9Z7I7EMdGV/lnGrKAeljUkqXw6Vo= From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/111652] [14 Regression] wrong code at -O3 on x86_64-linux-gnu Date: Mon, 02 Oct 2023 17:58:51 +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: unknown X-Bugzilla-Keywords: needs-bisection, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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=3D111652 Thomas Koenig changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |carll at gcc dot gnu.org --- Comment #2 from Thomas Koenig --- I ran git bisect on POWER (gcc120) and strangely got this as the first bad commit: b51795c832cf6e724d61919eb18a383223b76694 is the first bad commit commit b51795c832cf6e724d61919eb18a383223b76694 Author: Carl Love Date: Wed Jul 26 11:31:53 2023 -0400 rs6000, fix vec_replace_unaligned built-in arguments The first argument of the vec_replace_unaligned built-in should always = be of type vector unsigned char, as specified in gcc/doc/extend.texi. This patch fixes the builtin definitions and updates the test cases to = use the correct arguments. The original test file is renamed and a second = test file is added for a new test case. This is weird because the problem also occurs on x86_64.=