From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 456A83858D35; Tue, 7 Feb 2023 16:45:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 456A83858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675788309; bh=xxrghzFyZaDn/nYzycu84TNCOcop32sjPdqzMn1Qpt8=; h=From:To:Subject:Date:From; b=hM1VQ4pbcYxxPnph5oXYaz0SEPcRPfEkaqJ2Lo1n7+y5ksgl78tq3nngk3nLsIak6 EJHN5DcJVXtwRjkeK1XTxopOVl7eRi6duzjkTuQLaofG+XClBjnE53asWCTqEkoEjn cREqOtJZMqDZqxi5t4k2d+LHVjQ5VOTf6NfD3cII= From: "apjo at tuta dot io" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/108701] New: Incorrect -Wmisleading-indentation Date: Tue, 07 Feb 2023 16:45:09 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 12.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: apjo at tuta dot io 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D108701 Bug ID: 108701 Summary: Incorrect -Wmisleading-indentation Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: apjo at tuta dot io Target Milestone: --- Godbolt link (GCC 12.2.0) demonstrating the occurance of the issue : https://godbolt.org/z/Gx4677oPj Godbolt link of Clang 15.0.0 with the same input & options not having the incorrect warning : https://godbolt.org/z/rWrnGnj7d This is self-explanatory and completely reproducible. Do let me know if the= re's any more assistance I can offer.=