https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97576
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The testcase doesn't need -fopenmp nor -fopenmp-simd, just -O2. And whether it is valid is questionable due to the non-prototyped function and passing arguments to that. simd attribute or declare simd on functions that have void return type and no argument is also something that makes no sense.