[Patch] OpenACC: C/C++ - fix async parsing [PR99137]
Tobias Burnus
tobias@codesourcery.com
Fri Feb 19 12:59:20 GMT 2021
For:
#pragma acc parallel async(1,2)
avoid with C an ICE for the original tree:
#pragma acc parallel async(<<< Unknown tree: c_maybe_const_expr 1, 2 >>>)
It did not ICE with C++, but I think the tree does not make sense, either:
#pragma acc parallel async(<<< Unknown tree: void_cst >>>, 2)
OK for mainline?
(Not a regression; I don't know whether it makes sense to apply to other branches).
Tobias
-----------------
Mentor Graphics (Deutschland) GmbH, Arnulfstrasse 201, 80634 München Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Frank Thürauf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: acc-async.diff
Type: text/x-patch
Size: 4787 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20210219/7f835d18/attachment.bin>
More information about the Gcc-patches
mailing list