From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F1ACA385841D; Tue, 7 Feb 2023 16:52:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F1ACA385841D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675788751; bh=eqwVhbRUQ9+6bh4gzyGXi7Ot4Xqa9KaPF+/mpDTTPKs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=vljAEtXHXNgrFADI+YVqwBjx6BxcI9yxiEYAD2HAlu7jIWJ5GRC64g3te8ZDwOxGl LUzw7kJ3budG6D1liyAzOMBUYGNQhyVEaQelRRL8rsPc3NZc9RATSzfjmyFE2asJSx XK0Hg32uW4KEbpeWAml1UOvVwMYQVKmH8QUkDaPk= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/108701] Incorrect -Wmisleading-indentation Date: Tue, 07 Feb 2023 16:52:31 +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: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED 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 resolution 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=3D108701 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |INVALID --- Comment #3 from Andrew Pinski --- The documentation is clear too: https://gcc.gnu.org/onlinedocs/gcc-12.2.0/gcc/Warning-Options.html#index-Wm= isleading-indentation In the case of mixed tabs and spaces, the warning uses the -ftabstop=3D opt= ion to determine if the statements line up (defaulting to 8).=