https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90197
--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Aug 29 14:57:56 2019 New Revision: 275036 URL: https://gcc.gnu.org/viewcvs?rev=275036&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-8-branch/gcc/c/ChangeLog branches/gcc-8-branch/gcc/c/c-parser.c branches/gcc-8-branch/gcc/c/c-tree.h branches/gcc-8-branch/gcc/c/c-typeck.c