From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1F6CD3858C53; Thu, 2 Mar 2023 15:42:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1F6CD3858C53 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677771744; bh=ArDhoIuxeWj0RP8ZPlSwm4lBPkYg/Z4ldmjXcen9egg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=eaG2Sd+7ForuSzCZz2y3Kx5TcJPrW1vhqCQT5mzCSHk1WZtdiiULM+i22LCYNcNoK SPVKOINiVGadICjnBIpQt+KHpMN9tAmDJy885wGY7XGsi+qhnVg9lqNnewtSkmtIHp gAJSeq5jI6ZPXTE3dXVCMvl/ELTKiizMH/QsBo4E= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/108986] [11/12/13 Regression] Incorrect warning for [static] array parameter Date: Thu, 02 Mar 2023 15:42:23 +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.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority target_milestone short_desc 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=3D108986 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Target Milestone|--- |12.3 Summary|Incorrect warning for |[11/12/13 Regression] |[static] array parameter |Incorrect warning for | |[static] array parameter CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek --- One warning with the bogus [static 28] appeared with -O2 -Wall in r12-6606-g9d6a0f388eb048f8d87f With -O0 -Wall we started warning once with correct [static 7] in r11-3305-gbaad4c48a85a354d2bf1 and the bogus [static 28] first appeared in r11-3540-g873f8c1e6df94a9dcbfbe69 and two warnings starting with r12-6606.=