[Bug c++/123597] [14/15 Regression][OpenMP] Local variable wrongly hoisted (and shared) with templates and collapse(2)
schulz.benjamin at googlemail dot com
gcc-bugzilla@gcc.gnu.org
Sun Jan 25 13:11:08 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123597
--- Comment #21 from Benjamin Schulz <schulz.benjamin at googlemail dot com> ---
Hi, well thanks again for your patch.
I think this should be backported to the other affected gcc versions 16 and 14
if that hasn't happened already...
Gcc is used for some numerical libraries. Bringing variables out of the scope
can be disastrous for the results... So its important that this is fixed...
Best regards,
Benjamin
More information about the Gcc-bugs
mailing list