https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90197
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri May 17 19:47:18 2019 New Revision: 271348 URL: https://gcc.gnu.org/viewcvs?rev=271348&root=gcc&view=rev Log: Backported from mainline 2019-04-26 Jakub Jelinek <ja...@redhat.com> PR debug/90197 * c-tree.h (c_finish_loop): Add 2 further location_t arguments. * c-parser.c (c_parser_while_statement): Adjust c_finish_loop caller. (c_parser_do_statement): Likewise. (c_parser_for_statement): Likewise. Formatting fixes. * c-typeck.c (c_finish_loop): Add COND_LOCUS and INCR_LOCUS arguments, emit DEBUG_BEGIN_STMTs if needed. Modified: branches/gcc-9-branch/gcc/c/ChangeLog branches/gcc-9-branch/gcc/c/c-parser.c branches/gcc-9-branch/gcc/c/c-tree.h branches/gcc-9-branch/gcc/c/c-typeck.c