On Thu, Jun 03, 2021 at 05:07:22PM +0200, Jakub Jelinek via Gcc-patches wrote: > I think best would be just to remove that part of the testcase > in the loop patch and handle the !$omp with !$acc continuations > and vice versa in a separate change. That seems to be a preexisting > bug not really related to whether we support loop or not. > fatal_error is certainly not ideal, but I can understand fixing > it otherwise might be hard. > Wonder if we just shouldn't treat the incorrect continuations > as if they were simple comments.
Perhaps can't it gfc_error_now for the mixing of OMP and ACC line continuations and then act as if the incorrect ones were comments (like for -fopenmp -fno-openacc or -fopenacc -fno-openmp)? Jakub