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

--- Comment #5 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Tom de Vries from comment #4)
> So, something like this reflects the current state:
> ...
> diff --git a/gcc/omp-low.c b/gcc/omp-low.c
> index 7b122059c6e..a0561800977 100644
> --- a/gcc/omp-low.c
> +++ b/gcc/omp-low.c
> @@ -6005,6 +6005,11 @@ lower_rec_input_clauses (tree clauses, gimple_seq
> *ilist, gimple_seq *dlist,
>                   tree placeholder = OMP_CLAUSE_REDUCTION_PLACEHOLDER (c);
>                   gimple *tseq;
>                   tree ptype = TREE_TYPE (placeholder);
> +                 if (sctx.is_simt)
> +                   {
> +                     sorry ("SIMT not fully implemented");
> +                     abort ();
> +                   }
>                   if (cond)
>                     {
>                       x = error_mark_node;
> ...

Submitted patch that does something similar (but using error rather than
sorry/abort) @ https://gcc.gnu.org/pipermail/gcc-patches/2021-May/569421.html .

Reply via email to