diff options
author | Patrick Palka <ppalka@gcc.gnu.org> | 2016-04-06 23:10:14 +0000 |
---|---|---|
committer | Patrick Palka <ppalka@gcc.gnu.org> | 2016-04-06 23:10:14 +0000 |
commit | e292f64de0810c8efff20aef58bbb57c17541225 (patch) | |
tree | 746779eeffa9deaffac5cdb423008dd0494556d3 /gcc/omp-low.c | |
parent | 6b37bdaff18303bdc1042d9b99f11f83ac836c13 (diff) | |
download | gcc-e292f64de0810c8efff20aef58bbb57c17541225.zip gcc-e292f64de0810c8efff20aef58bbb57c17541225.tar.gz gcc-e292f64de0810c8efff20aef58bbb57c17541225.tar.bz2 |
Fix C++ side of PR c/70436 (missing -Wparentheses warnings)
gcc/cp/ChangeLog:
PR c/70436
* parser.c (cp_parser_iteration_statement): New parameter IF_P.
Pass it through to cp_parser_already_scoped_statement.
(cp_parser_already_scoped_statement): New parameter IF_P. Pass
it through to cp_parser_statement.
(cp_parser_statement): Pass IF_P through to
cp_parser_iteration_statement.
(cp_parser_pragma): Adjust call to
cp_parser_iteration_statement.
gcc/testsuite/ChangeLog:
PR c/70436
* g++.dg/warn/Wparentheses-29.C: New test.
From-SVN: r234802
Diffstat (limited to 'gcc/omp-low.c')
0 files changed, 0 insertions, 0 deletions