Paul-Antoine Arras wrote:
This is a followup to ed49709acda OpenMP: C++ front-end support for dispatch + adjust_args.The call to cp_parser_omp_dispatch only belongs in cp_parser_omp_construct. In cp_parser_pragma, handle PRAGMA_OMP_DISPATCH by calling cp_parser_omp_construct.
I think this change is good - but not sufficient. For instance,
the following gives an ICE:
void k();
struct t {
#pragma omp dispatch
k();
};
I think that's context == pragma_member.
Tobias
