aboutsummaryrefslogtreecommitdiff
path: root/libgomp
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2016-09-14 17:46:59 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2016-09-14 17:46:59 +0000
commit20a1e5b8c856e019b86b7e4990bad9dcb04d0e35 (patch)
tree55c5f2b1653d82fbe2d3ac4ac243322ba2fdd242 /libgomp
parentf335184d24fa4ae7f1242e3a9bb675fab8e0b732 (diff)
downloadgcc-20a1e5b8c856e019b86b7e4990bad9dcb04d0e35.zip
gcc-20a1e5b8c856e019b86b7e4990bad9dcb04d0e35.tar.gz
gcc-20a1e5b8c856e019b86b7e4990bad9dcb04d0e35.tar.bz2
typeck.c (cp_build_unary_op): Diagnose incrementing boolean expressions.
* typeck.c (cp_build_unary_op): Diagnose incrementing boolean expressions. Tweak an error message. * c-c++-common/gomp/atomic-12.c: Use -Wno-deprecated. * c-c++-common/gomp/atomic-13.c: Likewise. * c-c++-common/gomp/atomic-14.c: Likewise. * g++.dg/cpp1y/lambda-init11.C: Remove invalid code. * g++.dg/cpp1z/bool-increment1.C: New test. * c-c++-common/pr60439.c: Add dg-warning. * g++.dg/expr/bitfield4.C: Likewise. * g++.dg/expr/bitfield5.C: Likewise. * g++.dg/expr/bitfield6.C: Likewise. * g++.dg/expr/bool1.C: Likewise. * g++.dg/expr/bool3.C: Likewise. * g++.dg/expr/lval3.C: Likewise. * g++.dg/expr/lval4.C: Likewise. * g++.old-deja/g++.jason/bool5.C: Likewise. * g++.dg/expr/bitfield3.C: Adjust dg-error. * g++.dg/other/error18.C: Likewise. * g++.dg/gomp/atomic-14.C: Likewise. libgomp/ * testsuite/libgomp.c++/atomic-3.C: Use -Wno-deprecated. libstdc++-v3/ * testsuite/23_containers/vector/debug/insert6_neg.cc: Use -Wno-deprecated. From-SVN: r240141
Diffstat (limited to 'libgomp')
-rw-r--r--libgomp/ChangeLog4
-rw-r--r--libgomp/testsuite/libgomp.c++/atomic-3.C1
2 files changed, 5 insertions, 0 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index 32b11ec..e7749b2 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,7 @@
+2016-09-14 Marek Polacek <polacek@redhat.com>
+
+ * testsuite/libgomp.c++/atomic-3.C: Use -Wno-deprecated.
+
2016-08-19 Jakub Jelinek <jakub@redhat.com>
PR fortran/71014
diff --git a/libgomp/testsuite/libgomp.c++/atomic-3.C b/libgomp/testsuite/libgomp.c++/atomic-3.C
index 660b260..f957b2f 100644
--- a/libgomp/testsuite/libgomp.c++/atomic-3.C
+++ b/libgomp/testsuite/libgomp.c++/atomic-3.C
@@ -1,4 +1,5 @@
// { dg-do run }
+// { dg-options "-Wno-deprecated" }
extern "C" void abort (void);
bool v, x1, x2, x3, x4, x5, x6;