]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/omp-expand.c
OpenACC: Avoid ICE in type-cast 'async', 'wait' clauses
authorAndrew Stubbs <ams@codesourcery.com>
Thu, 30 Jan 2020 18:25:15 +0000 (18:25 +0000)
committerAndrew Stubbs <ams@codesourcery.com>
Thu, 23 Apr 2020 14:58:09 +0000 (15:58 +0100)
commitee9fcee3ec3a124dc3947c73c264bbcda97198df
tree8b2b61a178417df1ce52beda7a233ecdc57a2200
parent901f5289d9465d4c388ae288f850ad4f29e99a2c
OpenACC: Avoid ICE in type-cast 'async', 'wait' clauses

2020-04-23  Andrew Stubbs  <ams@codesourcery.com>
    Thomas Schwinge  <thomas@codesourcery.com>

PR middle-end/93488

gcc/
* omp-expand.c (expand_omp_target): Use force_gimple_operand_gsi on
t_async and the wait arguments.

gcc/testsuite/
* c-c++-common/goacc/pr93488.c: New file.

Reviewed-by: Thomas Schwinge <thomas@codesourcery.com>
gcc/ChangeLog
gcc/omp-expand.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/goacc/pr93488.c [new file with mode: 0644]