https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123597
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[14/15/16 |[14/15 Regression][OpenMP]
|Regression][OpenMP] Local |Local variable wrongly
|variable wrongly hoisted |hoisted (and shared) with
|(and shared) with templates |templates and collapse(2)
|and collapse(2) |
--- Comment #19 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed on the trunk so far.