diff options
author | Tom de Vries <tom@codesourcery.com> | 2017-09-16 13:11:43 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2017-09-16 13:11:43 +0000 |
commit | ebc6a85e3e8dc9a3e02301a6f9e2216781af565a (patch) | |
tree | 888bb213198ee08c5156289bb7ed91cf22bbfbcc /gcc/c/ChangeLog | |
parent | a1b99efd4b868cfb5583454cd3d70d54fdafbc33 (diff) | |
download | gcc-ebc6a85e3e8dc9a3e02301a6f9e2216781af565a.zip gcc-ebc6a85e3e8dc9a3e02301a6f9e2216781af565a.tar.gz gcc-ebc6a85e3e8dc9a3e02301a6f9e2216781af565a.tar.bz2 |
Fix condition folding in c_parser_omp_for_loop
2017-09-16 Tom de Vries <tom@codesourcery.com>
PR c/81875
* c-parser.c (c_parser_omp_for_loop): Fold only operands of cond, not
cond itself.
* testsuite/libgomp.c-c++-common/pr81875.c: New test.
From-SVN: r252873
Diffstat (limited to 'gcc/c/ChangeLog')
-rw-r--r-- | gcc/c/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 742867a..135445e 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,9 @@ +2017-09-16 Tom de Vries <tom@codesourcery.com> + + PR c/81875 + * c-parser.c (c_parser_omp_for_loop): Fold only operands of cond, not + cond itself. + 2017-09-15 Joseph Myers <joseph@codesourcery.com> PR c/82071 |