https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67192

--- Comment #23 from Andreas Krebbel <krebbel at gcc dot gnu.org> ---
Author: krebbel
Date: Mon Nov  9 15:31:32 2015
New Revision: 230023

URL: https://gcc.gnu.org/viewcvs?rev=230023&root=gcc&view=rev
Log:
[PR debug/67192] Fix C loops' back-jump location

gcc/c/ChangeLog:

        PR debug/67192
        * c-parser.c (c_parser_while_statement): Finish the loop before
        parsing ahead for misleading indentation.
        (c_parser_for_statement): Likewise.

gcc/testsuite/ChangeLog:

        PR debug/67192
        * gcc.dg/guality/pr67192.c: New test.


Added:
    trunk/gcc/testsuite/gcc.dg/guality/pr67192.c
Modified:
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-parser.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to