cp-gimplify.c (genericize_cp_loop): Change LOOP_EXPR's location to start of loop...
authorAndreas Arnez <arnez@linux.vnet.ibm.com>
Thu, 26 Nov 2015 17:52:01 +0000 (17:52 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Thu, 26 Nov 2015 17:52:01 +0000 (17:52 +0000)
commit9daf14d44298a602ff7be05efe6c9a65e9c97350
tree5eae90745f9615cff7702a18c61fa8b4addce20c
parent8b95719a65ecb381c194b06700c87d2a015f6fab
cp-gimplify.c (genericize_cp_loop): Change LOOP_EXPR's location to start of loop body instead of start of loop.

gcc/cp/ChangeLog:

2015-11-26  Andreas Arnez  <arnez@linux.vnet.ibm.com>

* cp-gimplify.c (genericize_cp_loop): Change LOOP_EXPR's location
to start of loop body instead of start of loop.

gcc/testsuite/ChangeLog:

2015-11-26  Andreas Arnez  <arnez@linux.vnet.ibm.com>

* g++.dg/guality/pr67192.C: New test.

From-SVN: r230979
gcc/cp/ChangeLog
gcc/cp/cp-gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/guality/pr67192.C [new file with mode: 0644]