https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77769
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid Component|other |middle-end --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- So what is most likely happening is when openmp is creating the new function for outlining, it does not copy the target attribute to the new function.