From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9B2C838708A8; Fri, 4 Sep 2020 12:04:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9B2C838708A8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1599221071; bh=6j2udJfyGXrYa/TBt4Cm2VtAl6V6dlCOffdToWYE76w=; h=From:To:Subject:Date:In-Reply-To:References:From; b=VLSpxyU2EEyetmA5IkkNppVF5QU8/9Tro/qP/R9v20pRTPNhX6kBDAO2o8CUaIYbj QdKEm9az/awizQiLU9+InVUxx/ahGtWV1ZNt2tZE/EXXzV1c10/an6Na6llQhmPXbV izMzreajcBLq2ka8njEOUDdqZyS8q58ArSjXfb7Y= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/96935] ICE in subspan, at input.h:69 Date: Fri, 04 Sep 2020 12:04:31 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 10.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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, 04 Sep 2020 12:04:31 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96935 --- Comment #2 from Richard Biener --- Guess the error is simply that we fall back to no columns and thus start.co= lumn =3D=3D 0 and we do char_span literal =3D line.subspan (start.column - 1, literal_length); which means input.c:1467 should check whether start.column is >=3D 1 Might also trigger with printf ("\ ......") who knows. Your backtrace doesn't contain function argument values to verify. Maybe y= ou can build GCC with -O0 once and check?=