https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68716

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Ah, you simply do "nothing"

          case BUILT_IN_GOMP_PARALLEL:
          case BUILT_IN_GOACC_PARALLEL:
            return;

that's of course not correct.  You should handle these builtin calls as
calls to the "real" function.  I thought that was done but appearantly not.
Ok, I see re-mapping the arguments to the generic handling below will
be interesting and thus your original patch looks ok to me.

Reply via email to