[Bug c++/123597] [14/15 Regression][OpenMP] Local variable wrongly hoisted (and shared) with templates and collapse(2)

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 23 09:44:45 GMT 2026


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.


More information about the Gcc-bugs mailing list