]> git.ipfire.org Git - thirdparty/gcc.git/commit
OpenMP: Parse align clause in allocate directive in C/C++
authorTobias Burnus <tobias@codesourcery.com>
Thu, 9 Feb 2023 10:40:29 +0000 (11:40 +0100)
committerTobias Burnus <tobias@codesourcery.com>
Thu, 9 Feb 2023 10:42:21 +0000 (11:42 +0100)
commit1eb78a935aa90edb21f3102b310b661e36488abe
tree2d0be675cb35393eaeea9f1e769c15fff7d9bf79
parentae091a44f6a477fbcf463e80fd604540cad3b37f
OpenMP: Parse align clause in allocate directive in C/C++

gcc/c/ChangeLog:

* c-parser.cc (c_parser_omp_allocate): Parse align
clause and check for restrictions.

gcc/cp/ChangeLog:

* parser.cc (cp_parser_omp_allocate): Parse align
clause and check for restrictions.

gcc/testsuite/ChangeLog:

* c-c++-common/gomp/allocate-5.c: Extend for align clause.
gcc/c/c-parser.cc
gcc/cp/parser.cc
gcc/testsuite/c-c++-common/gomp/allocate-5.c