From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4B3EE3858288; Wed, 13 Sep 2023 10:48:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4B3EE3858288 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1694602081; bh=Of+j1bzd7HDnqtZk3FuZ3ZPtwom629J2zAT5ZCgf2h4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=EpESQxeH2lp4W4aap9iisWMaW+2BkRztndCKE58oguS1uU2PTZ9PZGl0CWJdJo4kd 6FANxkPAwUMb47auiPSXiPAjNHGdtBgDOPpKO4CImNErLzRR53HMsnTzdOXu04vE9g 2SIHesZEfpVW2J6o4hYEDWKHXbhppy3cHZnCzINM= From: "xry111 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/111403] LoongArch: Wrong code with -O -mlasx -fopenmp-simd Date: Wed, 13 Sep 2023 10:48:01 +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: xry111 at gcc dot gnu.org 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: keywords cc cf_gcctarget 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=3D111403 Xi Ruoyao changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code CC| |chenglulu at loongson dot = cn, | |chenxiaolong at loongson d= ot cn Target| |loongarch*-*-* --- Comment #1 from Xi Ruoyao --- FWIW the test case is reduced from g++.dg/vect/simd-2.cc. And interestingl= y if we remove the definition S::operator=3D the issue no longer happens.=