From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C99AD385F024; Fri, 20 Mar 2020 14:57:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C99AD385F024 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1584716247; bh=7BIyEUzYiz2vW9zFFCNRXyBMgg1uwiii209YfPFci9Y=; h=From:To:Subject:Date:In-Reply-To:References:From; b=OT2KbEqPo88UMAoZdPnQu1GU2JsnKbMZEP/JzrE4PRiMD9ajSbkwOmOpHC0m8tmAy QGibkPqkicM1hYVzZqQFQgl0x71eUfufgOZ3BwlcesdH370TxO0K2Tf05thT+npwVt HUY+ke6F144vrALlEbsa0RgB8kdmNg+TbFyPi6T0= From: "qinzhao at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/94230] provide an option to change the size limitation for -Wmisleading-indent Date: Fri, 20 Mar 2020 14:57:27 +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: 10.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: qinzhao 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2020 14:57:27 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94230 --- Comment #2 from qinzhao at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #1) > The size limitation is given from the way columns, lines, blocks and > location ranges are encoded in location_t, which is a 32-bit number. > See libcpp/include/line-map.h comment above location_t typedef. > If you have very long lines (I think more than 4095 columns), the code is > badly formatted and -Wmisleading-indentation just doesn't make sense. does this mean, for a 32-bit number, the size limitation cannot be changed anymore? if we use 64-bit number for it, will that resolve the issue?=