summaryrefslogtreecommitdiff
path: root/gcc/c/c-parser.c
diff options
context:
space:
mode:
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2014-04-22 17:53:11 +0000
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2014-04-22 17:53:11 +0000
commitd601a962f4505f0362c2043ab8d947690aee6d6a (patch)
tree43eaf8cb1bd603c0adf92cdfa8fe7cfdf956df32 /gcc/c/c-parser.c
parent3b247a200be7c28c7bd953df565cbcf958c7b2ee (diff)
parent6f9155d6a3a979934c54c90454aff1cdbbc661e0 (diff)
downloadgcc-d601a962f4505f0362c2043ab8d947690aee6d6a.tar.gz
Merge in trunk.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@209655 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c/c-parser.c')
-rw-r--r--gcc/c/c-parser.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/c/c-parser.c b/gcc/c/c-parser.c
index ffe87602b42..b1770860ae7 100644
--- a/gcc/c/c-parser.c
+++ b/gcc/c/c-parser.c
@@ -12208,10 +12208,12 @@ c_parser_omp_parallel (location_t loc, c_parser *parser,
if (!flag_openmp) /* flag_openmp_simd */
return c_parser_omp_for (loc, parser, p_name, mask, cclauses);
block = c_begin_omp_parallel ();
- c_parser_omp_for (loc, parser, p_name, mask, cclauses);
+ tree ret = c_parser_omp_for (loc, parser, p_name, mask, cclauses);
stmt
= c_finish_omp_parallel (loc, cclauses[C_OMP_CLAUSE_SPLIT_PARALLEL],
block);
+ if (ret == NULL_TREE)
+ return ret;
OMP_PARALLEL_COMBINED (stmt) = 1;
return stmt;
}