diff options
author | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2008-08-27 16:06:00 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2008-08-27 16:06:00 +0000 |
commit | d4033c81042ca6e288013027c4662734694aaa0c (patch) | |
tree | bd56272d2aa361afef5fa56a4f3eb69385986665 /gcc/cp/cp-tree.h | |
parent | f5d09f36347c9c1c13c94db2ffa06df3388431a6 (diff) | |
download | gcc-d4033c81042ca6e288013027c4662734694aaa0c.zip gcc-d4033c81042ca6e288013027c4662734694aaa0c.tar.gz gcc-d4033c81042ca6e288013027c4662734694aaa0c.tar.bz2 |
re PR c++/17880 (-Wsequence-point doesn't warn inside if, while, do conditions, for beg/cond/end expressions etc.)
2008-08-27 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR c++/17880
cp/
* semantics.c (maybe_convert_cond): Call verify_sequence_points.
(finish_return_stmt): Likewise.
(finish_switch_condition): Likewise.
testsuite/
* g++.dg/warn/sequence-pt-1.C: New.
* g++.dg/warn/sequence-pt-pr17880.C: New.
From-SVN: r139625
Diffstat (limited to 'gcc/cp/cp-tree.h')
0 files changed, 0 insertions, 0 deletions