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

--- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> ---
[x86_64 build/host with target nvptx]

.../gcc/cc1 -fpreprocessed task.i -quiet -dumpbase task.c -dumpbase-ext .c
-mgomp -g -O2 -Wall -Werror -version -o task.s

 * * *

Another variant of reducted testcase:

struct gomp_task { void *fn_data; };
gomp_target_task_fn (void *data) { __builtin_unreachable (); }
gomp_create_target_task ()
{
  struct gomp_task *task;
  task = gomp_malloc (sizeof (*task));
  gomp_target_task_fn (task->fn_data);
}

Reply via email to