https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78589
--- Comment #4 from Martin Jambor <jamborm at gcc dot gnu.org> --- I have always thought there was a reason why the outline OMP functions do not have their abstract origin set, but perhaps there isn't. I am testing a patch for gcc/cp/error.c that (apart from guarding against infinite recursion in some cases) should make g++ produce the same output as gcc does. I would like that one to be committed before (some variant of) your patch. If the unset abstract origin is indeed only an omission, setting it will definitely be an improvement. We will see :-)