From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 89239 invoked by alias); 12 Oct 2015 14:32:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 89168 invoked by uid 48); 12 Oct 2015 14:32:44 -0000 From: "arnez at linux dot vnet.ibm.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/67192] [6 Regression] Backward-goto in loop can get wrong line number Date: Mon, 12 Oct 2015 14:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: arnez at linux dot vnet.ibm.com 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: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-10/txt/msg00890.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67192 --- Comment #20 from Andreas Arnez --- Posted a patch that is not as ambitious as completely getting rid of input_location, but also doesn't require a new function like c_parser_peek_token_keep_input_location(): https://gcc.gnu.org/ml/gcc-patches/2015-10/msg01132.html