diff options
author | Jakub Jelinek <jakub@redhat.com> | 2017-07-27 21:13:42 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2017-07-27 21:13:42 +0200 |
commit | a40ff0ae8b8d28d5713792ca108f688f2ca4825a (patch) | |
tree | 8e297a3f30cbc148915200b3e303439c75bae8c3 /gcc/tree-parloops.c | |
parent | 1f9e09b55416098b04b3071549cdd53ab95ff8b5 (diff) | |
download | gcc-a40ff0ae8b8d28d5713792ca108f688f2ca4825a.zip gcc-a40ff0ae8b8d28d5713792ca108f688f2ca4825a.tar.gz gcc-a40ff0ae8b8d28d5713792ca108f688f2ca4825a.tar.bz2 |
re PR c/45784 (gcc OpenMP - error: invalid controlling predicate)
PR c/45784
* c-omp.c (c_finish_omp_for): If the condition is wrapped in
rhs of COMPOUND_EXPR(s), skip them and readd their lhs into
new COMPOUND_EXPRs around the rhs of the comparison.
* testsuite/libgomp.c/pr45784.c: New test.
* testsuite/libgomp.c++/pr45784.C: New test.
From-SVN: r250635
Diffstat (limited to 'gcc/tree-parloops.c')
0 files changed, 0 insertions, 0 deletions