From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 55B163858D34; Tue, 7 May 2024 20:44:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 55B163858D34 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1715114646; bh=66EKTX50AlqkU/JKFXWlL972ZrgoB2eeXbafkg+GqEg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=XJucQr36jjeh4s5DdelWdO16+eT0DuTgkUK9RbyABfdZWqei7jFqVTCvk94GPl0KH ayVhpdutvVbJUILMhlAN1XCPZ5I+UdLT41FlWdReHFFUgdtY8FvyPT6ojdD3NYVutO WNsF5p5HDQYck8SDVr1QRleil+p549k1RYwJ7jeI= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/114970] [14/15 Regression] 32-bit ARM gcc-14.1 new false positive -Wunused-value Date: Tue, 07 May 2024 20:44:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 14.1.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: 14.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc cf_gcctarget target_milestone 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=3D114970 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|32-bit ARM gcc-14.1 new |[14/15 Regression] 32-bit |false positive |ARM gcc-14.1 new false |-Wunused-value |positive -Wunused-value Target|arm |arm*-*-*eabi Target Milestone|--- |14.2 --- Comment #1 from Andrew Pinski --- This looks related to constructor return this where with ARM EABI construct= ors (and deconstructors return this) and we produce: <"}, (str= uct basic_string_view *) &prefix >>>>>; Note "this" of &prefix is there. Let me try to reduce this a little bit. I might not get to it until week after next though.=