From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B16393894C27; Thu, 20 Jun 2024 23:22:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B16393894C27 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1718925734; bh=7QAVZNYVCKilU7lCWn7SG1/6nE7C8MYwBzivnmCJiAQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=lCh4cc4s89PmmgplM7vwvi1H9KMIMgzlYWPWJbjTnOPXAwR6XIg9NczAVNlCPnTUW prK0DyTuplt1FCgf86EzyAKe+CG1aJFPJ7tkMtHSugovcghsGeU491oMARWtsn9WZ6 im0N1OxEC2LA09IGeuff/Dm9MlaPe65FxEEfY/Sw= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68855] PAREN_EXPR not "ignored" where possible Date: Thu, 20 Jun 2024 23:22:14 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pinskia 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=3D68855 --- Comment #9 from Andrew Pinski --- C version of the same: ``` void foo(_Complex float *a, int n) { for(int i =3D 0; i < n; i++) { _Complex float t; t =3D a[i]; t +=3D 6.0; t =3D __builtin_assoc_barrier(t); a[i] =3D t; } } ```=