[PR debug/67192] Further fix C loops' back-jump location
authorAndreas Arnez <arnez@linux.vnet.ibm.com>
Mon, 9 Nov 2015 15:35:10 +0000 (15:35 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Mon, 9 Nov 2015 15:35:10 +0000 (15:35 +0000)
commitfc402eec4b203f2fba90abd57805174d4101d618
treea60825da555a0c5971ceed078d9824a9407d97e9
parentf6b0b3db86a579ae246409aafb1e49005cfebc2c
[PR debug/67192] Further fix C loops' back-jump location

gcc/c/ChangeLog:

PR debug/67192
* c-typeck.c (c_finish_loop): For unconditional loops, set the
location of the backward-goto to the start of the loop body.

gcc/testsuite/ChangeLog:

PR debug/67192
* gcc.dg/guality/pr67192.c (f3, f4): New functions.
(main): Invoke them.

From-SVN: r230024
gcc/c/ChangeLog
gcc/c/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/guality/pr67192.c