https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104013
Alexander Poeppel <trekie10b at gmx dot de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |INVALID --- Comment #9 from Alexander Poeppel <trekie10b at gmx dot de> --- Never mind. gcc produces the correct result. I had a weird interference with nvcc, which I noticed when building the test case. So the bug is actually in nvcc. Closing.