From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AF2BA3861C30; Thu, 19 Mar 2020 22:05:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AF2BA3861C30 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1584655510; bh=uMVwSWxza76fObfB6uQ9m4CFl3TduhWKTCRloMRRHME=; h=From:To:Subject:Date:In-Reply-To:References:From; b=T43mZdpHevzaiATxFFxOHtg3xWDMBYDdN/jryH5Qc9NsroWGy+tFdo20UirdzO3AX E7uLM8eL5iucYFEy4YeQdLl4iTQyEHDIuQDFanOgIN0RkPvFliubwEjCUvYYP/vT88 Rjybgz0Lb8RpI8++FOwSC5uBtAFQemKo1pHFQn3s= From: "jakub 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: Thu, 19 Mar 2020 22:05:10 +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: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 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 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: Thu, 19 Mar 2020 22:05:10 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94230 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek --- The size limitation is given from the way columns, lines, blocks and locati= on 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 b= adly formatted and -Wmisleading-indentation just doesn't make sense.=