https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78808
--- Comment #14 from Steven Noonan <steven at uplinklabs dot net> --- "testcase.i" can be reduced a lot (thanks creduce!). Literally just this: --- __attribute__((target_clones("arch=sandybridge", "default"))) static _saxpy() { #pragma omp parallel ; } saxpy() {} --- is sufficient to demonstrate the link issue (compile with/without -fopemp)