[Bug target/123272] [nvptx] miscompilation in matrix multiplication with #pragma omp target teams parallel for collapse(2) if members of classes use templates

schulz.benjamin at googlemail dot com gcc-bugzilla@gcc.gnu.org
Tue Dec 23 06:50:47 GMT 2025


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123272

--- Comment #3 from Benjamin Schulz <schulz.benjamin at googlemail dot com> ---
Sam from gentoo who sometimes commits to gcc was able to reproduce the matrix
multiplication miscompilation for templated type member fields on his gpu:

https://bugs.gentoo.org/967286#c14

He also found that at least the matrix multiplication compiles correctly with
O1, which I now was able to confirm for my machine...


More information about the Gcc-bugs mailing list