On Thu, Jul 16, 2015 at 05:47:09PM -0700, Aldy Hernandez wrote:
> commit 6ec528841cee875cfd0bcac0e35f5a6db1df0f6b
> Author: Aldy Hernandez
> Date: Thu Jul 16 16:38:19 2015 -0700
>
> c/
> * c-parser.c (c_parser_omp_clause_depend_sink): Handle multiple
> undeclared sink variables
The following:
#pragma omp ordered depend(sink:asdf)
...where asdf is undeclared, is ICEing in *finish_omp_clauses because we
create a clause with NULL, and we're expecting a TREE_LIST.
In the attached patch, I have opted to avoid creating the ordered depend
clause if we have a parse error.