]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/omp-offload.c
[OpenACC privatization] Don't let unhandled 'IFN_UNIQUE_OACC_PRIVATE' linger [PR90115]
authorThomas Schwinge <thomas@codesourcery.com>
Thu, 20 May 2021 13:37:07 +0000 (15:37 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Fri, 21 May 2021 18:02:41 +0000 (20:02 +0200)
commitff451ea723deb3fe8471eb96ac9381c063ec6533
tree21e533705243b80596f804633071afd393696b09
parent3a285ebd0cf5ab762726018515d23280fa6dd445
[OpenACC privatization] Don't let unhandled 'IFN_UNIQUE_OACC_PRIVATE' linger [PR90115]

Make sure they're all handled in 'execute_oacc_device_lower'.  Why we at all
can have 'level == -1' cases is a separate bug to be fixed.

gcc/
PR middle-end/90115
* omp-offload.c (execute_oacc_device_lower)
<IFN_UNIQUE_OACC_PRIVATE>: Diagnose and handle for 'level == -1'
case, too.
* internal-fn.c (expand_UNIQUE): Don't expect
'IFN_UNIQUE_OACC_PRIVATE'.
gcc/internal-fn.c
gcc/omp-offload.c