Fix new -Wparentheses warnings encountered during bootstrap
authorPatrick Palka <ppalka@gcc.gnu.org>
Wed, 6 Apr 2016 23:07:21 +0000 (23:07 +0000)
committerPatrick Palka <ppalka@gcc.gnu.org>
Wed, 6 Apr 2016 23:07:21 +0000 (23:07 +0000)
commit6b37bdaff18303bdc1042d9b99f11f83ac836c13
tree66367b6fb70f7e3bce2174c4c92500acc9eafd3b
parent64824205cc9312e4e7798cda86a8e4c1f23e5d2b
Fix new -Wparentheses warnings encountered during bootstrap

gcc/ChangeLog:

PR c/70436
* gimplify.c (gimplify_omp_ordered): Add explicit braces to
resolve a future -Wparentheses warning.
* omp-low.c (scan_sharing_clauses): Likewise.
* tree-parloops.c (eliminate_local_variables): Likewise.

gcc/cp/ChangeLog:

PR c/70436
* cp-tree.h (FOR_EACH_CLONE): Restructure macro to avoid
potentially generating a future -Wparentheses warning in its
callers.

gcc/fortran/ChangeLog:

PR c/70436
* openmp.c (gfc_find_omp_udr): Add explicit braces to resolve a
future -Wparentheses warning.

gcc/testsuite/ChangeLog:

PR c/70436
* g++.dg/plugin/pragma_plugin.c (handle_pragma_sayhello): Add
explicit braces to resolve a future -Wparentheses warning.

From-SVN: r234801
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/fortran/ChangeLog
gcc/fortran/openmp.c
gcc/gimplify.c
gcc/omp-low.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/plugin/pragma_plugin.c
gcc/tree-parloops.c