Fix "[openmp] Set location for taskloop stmts"
authorTom de Vries <tdevries@suse.de>
Fri, 18 Mar 2022 15:19:25 +0000 (16:19 +0100)
committerTom de Vries <tdevries@suse.de>
Fri, 18 Mar 2022 15:27:28 +0000 (16:27 +0100)
commit63746c253a83be0022d920e045dfd356b1ca0149
tree361afd42dfa9270a1102efe3fe9688809eb938f6
parent41f01c97153d403fb34eefac245bab8ba472beea
Fix "[openmp] Set location for taskloop stmts"

I accidentally committed an outdated version of patch "[openmp] Set location
for taskloop stmts".

Fix this by adding the missing changes.

gcc/ChangeLog:

2022-03-18  Tom de Vries  <tdevries@suse.de>

* gimplify.cc (gimplify_omp_for): Set location using 'input_location'.
Set gfor location only when dealing with a OMP_TASKLOOP.
gcc/gimplify.cc