https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79313
kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #2 from kargl at gcc dot gnu.org --- Your code looks bogus. If you add use omp_lib to the code. It compiles and works.