From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9D1CF395B413; Thu, 17 Nov 2022 02:27:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9D1CF395B413 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668652036; bh=wR7AJ/AeWgL32V7FDr+JdkkAfIE3eOlllT6FOz+sK9s=; h=From:To:Subject:Date:In-Reply-To:References:From; b=veExgYLxb/JYxrJ7cbvDJpaFJKcg6dVCD6vrJLaXiK3iUg/qO3s6nqnwhOl6AGp5X sb/VHpeVV6xakzdijR0SCJeITd0sZPUWPAgbkE7getciXyijFkmLW24Mk6judBJ4O0 LexqfglnNWbwPuVWTWR2is894KTaQjAYFbb/5A98= From: "sam at gentoo dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/107730] Trivial -Wreturn-type false positive when function marked static Date: Thu, 17 Nov 2022 02:27:16 +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: 12.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sam at gentoo dot org X-Bugzilla-Status: CLOSED X-Bugzilla-Resolution: INVALID 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: bug_status 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=3D107730 Sam James changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Sam James --- hm, wait, sorry. It should still emit the warning even without static? Or a= m I missing something?=