gcc/libgomp/testsuite/libgomp.c++
Marek Polacek 20a1e5b8c8 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
2016-09-14 17:46:59 +00:00
..
examples-4 builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
affinity-1.C target.c: New file. 2013-10-11 11:26:50 +02:00
atomic-1.C Run testsuite/libgomp.c++/c++.exp at -O2 by default 2015-06-30 12:22:04 +00:00
atomic-2.C backport: re PR fortran/46752 (OpenMP - Seg fault for unallocated allocatable array in firstprivate clause) 2011-08-02 18:13:29 +02:00
atomic-3.C typeck.c (cp_build_unary_op): Diagnose incrementing boolean expressions. 2016-09-14 17:46:59 +00:00
atomic-4.C backport: re PR fortran/46752 (OpenMP - Seg fault for unallocated allocatable array in firstprivate clause) 2011-08-02 18:13:29 +02:00
atomic-5.C backport: re PR fortran/46752 (OpenMP - Seg fault for unallocated allocatable array in firstprivate clause) 2011-08-02 18:13:29 +02:00
atomic-6.C backport: re PR fortran/46752 (OpenMP - Seg fault for unallocated allocatable array in firstprivate clause) 2011-08-02 18:13:29 +02:00
atomic-7.C backport: re PR fortran/46752 (OpenMP - Seg fault for unallocated allocatable array in firstprivate clause) 2011-08-02 18:13:29 +02:00
atomic-8.C backport: re PR fortran/46752 (OpenMP - Seg fault for unallocated allocatable array in firstprivate clause) 2011-08-02 18:13:29 +02:00
atomic-9.C backport: re PR fortran/46752 (OpenMP - Seg fault for unallocated allocatable array in firstprivate clause) 2011-08-02 18:13:29 +02:00
atomic-10.C target.c: New file. 2013-10-11 11:26:50 +02:00
atomic-11.C target.c: New file. 2013-10-11 11:26:50 +02:00
atomic-12.C target.c: New file. 2013-10-11 11:26:50 +02:00
atomic-13.C target.c: New file. 2013-10-11 11:26:50 +02:00
atomic-14.C c-parser.c (c_parser_omp_atomic): Allow seq_cst before atomic-clause... 2014-04-24 23:20:28 +02:00
atomic-15.C c-parser.c (c_parser_omp_atomic): Allow seq_cst before atomic-clause... 2014-04-24 23:20:28 +02:00
atomic-16.C Run testsuite/libgomp.c++/c++.exp at -O2 by default 2015-06-30 12:22:04 +00:00
c++.exp Run testsuite/libgomp.c++/c++.exp at -O2 by default 2015-06-30 12:22:04 +00:00
cancel-for-1.C target.c: New file. 2013-10-11 11:26:50 +02:00
cancel-for-2.C target.c: New file. 2013-10-11 11:26:50 +02:00
cancel-parallel-1.C target.c: New file. 2013-10-11 11:26:50 +02:00
cancel-parallel-2.C re PR c/63326 (whether a #pragma is a statement depends on the type of pragma) 2015-11-27 09:59:55 +01:00
cancel-parallel-3.C target.c: New file. 2013-10-11 11:26:50 +02:00
cancel-sections-1.C target.c: New file. 2013-10-11 11:26:50 +02:00
cancel-taskgroup-1.C target.c: New file. 2013-10-11 11:26:50 +02:00
cancel-taskgroup-2.C target.c: New file. 2013-10-11 11:26:50 +02:00
cancel-taskgroup-3.C target.c: New file. 2013-10-11 11:26:50 +02:00
cancel-test.h target.c: New file. 2013-10-11 11:26:50 +02:00
collapse-1.C
collapse-2.C
copyin-1.C
copyin-2.C
ctor-1.C
ctor-2.C
ctor-3.C
ctor-4.C
ctor-5.C
ctor-6.C
ctor-7.C
ctor-8.C
ctor-9.C
ctor-10.C
ctor-11.C
ctor-12.C
ctor-13.C builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
declare_target-1.C [hsa,testsuite] Introduce offload_device_shared_as effective target 2016-02-26 20:42:31 +01:00
doacross-1.C builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
for-1.C
for-2.C
for-3.C
for-4.C
for-5.C
for-6.C
for-7.C Run testsuite/libgomp.c++/c++.exp at -O2 by default 2015-06-30 12:22:04 +00:00
for-8.C
for-9.C target.c: New file. 2013-10-11 11:26:50 +02:00
for-10.C gimplify.c (gimplify_omp_for): For #pragma omp for simd iterator not mentioned in clauses use private clause if... 2014-06-24 09:53:52 +02:00
for-11.C target.c: New file. 2013-10-11 11:26:50 +02:00
for-12.C builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
for-13.C builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
for-14.C builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
linear-1.C builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
loop-1.C
loop-2.C
loop-3.C
loop-4.C
loop-5.C
loop-6.C
loop-7.C
loop-8.C
loop-9.C
loop-10.C
loop-11.C
loop-12.C
loop-13.C omp-low.c (extract_omp_for_data): For collapsed loops... 2013-05-16 12:43:33 +02:00
loop-14.C omp-low.c (extract_omp_for_data): For collapsed loops... 2013-05-16 12:43:33 +02:00
loop-15.C omp-low.c (extract_omp_for_data): For collapsed loops... 2013-05-16 12:43:33 +02:00
master-1.C
member-1.C [PR testsuite/68063] Add missing private clause in libgomp.c++/member-1.C 2015-10-27 11:32:32 +01:00
member-2.C Add missing private clause in libgomp.c++/member-2.C 2015-10-23 10:45:13 +00:00
member-3.C builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
member-4.C builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
member-5.C builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
member-6.C gcc/ 2015-11-05 16:08:08 +01:00
member-7.C gcc/ 2015-11-05 16:08:08 +01:00
monotonic-1.C gcc/ 2015-11-05 16:08:08 +01:00
monotonic-2.C gcc/ 2015-11-05 16:08:08 +01:00
nested-1.C
nonmonotonic-1.C gcc/ 2015-11-05 16:08:08 +01:00
nonmonotonic-2.C gcc/ 2015-11-05 16:08:08 +01:00
ordered-1.C builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
parallel-1.C
pr24455-1.C
pr24455.C re PR target/54908 (misc regressions on emutls targets remain from dynamic initialization of non-function-local TLS variables) 2013-01-19 00:25:25 -05:00
pr26691.C
pr26943.C
pr27337.C
pr30703.C
pr34513.C
pr35185.C
pr38650.C
pr39573.C
pr43893.C
pr48869.C
pr49043.C re PR c++/49043 ([OpenMP & C++0x]: Compiler error when lambda-function within OpenMP loop) 2011-05-19 15:11:56 +02:00
pr56217.C re PR c++/56217 (ICE: OpenMP: when combining shared() and a move constructor) 2013-02-06 11:34:53 +01:00
pr58706.C re PR c++/58706 (ICE with lambda in OpenMP for-loop) 2016-08-08 21:50:29 +02:00
pr63248.C re PR c++/63248 (Crash when OpenMP target's array section handling is used with templates) 2014-09-18 18:43:28 +02:00
pr64824.C Run testsuite/libgomp.c++/c++.exp at -O2 by default 2015-06-30 12:22:04 +00:00
pr64868.C Run testsuite/libgomp.c++/c++.exp at -O2 by default 2015-06-30 12:22:04 +00:00
pr66199-1.C Run testsuite/libgomp.c++/c++.exp at -O2 by default 2015-06-30 12:22:04 +00:00
pr66199-2.C Run testsuite/libgomp.c++/c++.exp at -O2 by default 2015-06-30 12:22:04 +00:00
pr66199-3.C gcc/ 2015-11-05 16:08:08 +01:00
pr66199-4.C gcc/ 2015-11-05 16:08:08 +01:00
pr66199-5.C gcc/ 2015-11-05 16:08:08 +01:00
pr66199-6.C gcc/ 2015-11-05 16:08:08 +01:00
pr66199-7.C gcc/ 2015-11-05 16:08:08 +01:00
pr66199-8.C gcc/ 2015-11-05 16:08:08 +01:00
pr66199-9.C gcc/ 2015-11-05 16:08:08 +01:00
pr66702-1.C pr66702-1.C: Require vect_simd_clones effective target. 2015-07-02 10:17:20 +02:00
pr66702-2.C pr66702-1.C: Require vect_simd_clones effective target. 2015-07-02 10:17:20 +02:00
pr69393.C re PR lto/69393 (ICE in dwarf2out_finish, at dwarf2out.c:27175 with LTO) 2016-01-25 09:31:47 +00:00
pr69555-1.C re PR libgomp/69555 (libgomp.c++/target-6.C fails because of undefined behaviour) 2016-03-02 20:16:14 +01:00
pr69555-2.C re PR libgomp/69555 (libgomp.c++/target-6.C fails because of undefined behaviour) 2016-03-02 20:16:14 +01:00
pr70376.C re PR c++/70376 (OpenMP taskloop construct fails to instantiate copy constructor(same as Bug 48869)) 2016-03-23 19:42:19 +01:00
reduction-1.C
reduction-2.C
reduction-3.C
reduction-4.C backport: re PR fortran/46752 (OpenMP - Seg fault for unallocated allocatable array in firstprivate clause) 2011-08-02 18:13:29 +02:00
reduction-5.C builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
reduction-6.C builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
reduction-7.C builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
reduction-8.C builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
reduction-9.C builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
reduction-10.C builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
reduction-11.C re PR middle-end/68221 (libgomp reduction-11/12 failures) 2015-11-20 20:50:46 +01:00
reduction-12.C re PR middle-end/68221 (libgomp reduction-11/12 failures) 2015-11-20 20:50:46 +01:00
reference-1.C builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
sections-1.C
shared-1.C
shared-2.C
simd-1.C Run testsuite/libgomp.c++/c++.exp at -O2 by default 2015-06-30 12:22:04 +00:00
simd-2.C Run testsuite/libgomp.c++/c++.exp at -O2 by default 2015-06-30 12:22:04 +00:00
simd-3.C Run testsuite/libgomp.c++/c++.exp at -O2 by default 2015-06-30 12:22:04 +00:00
simd-4.C Run testsuite/libgomp.c++/c++.exp at -O2 by default 2015-06-30 12:22:04 +00:00
simd-5.C Run testsuite/libgomp.c++/c++.exp at -O2 by default 2015-06-30 12:22:04 +00:00
simd-6.C Run testsuite/libgomp.c++/c++.exp at -O2 by default 2015-06-30 12:22:04 +00:00
simd-7.C Run testsuite/libgomp.c++/c++.exp at -O2 by default 2015-06-30 12:22:04 +00:00
simd-8.C Run testsuite/libgomp.c++/c++.exp at -O2 by default 2015-06-30 12:22:04 +00:00
simd-9.C Run testsuite/libgomp.c++/c++.exp at -O2 by default 2015-06-30 12:22:04 +00:00
simd10.C Run testsuite/libgomp.c++/c++.exp at -O2 by default 2015-06-30 12:22:04 +00:00
simd11.C Run testsuite/libgomp.c++/c++.exp at -O2 by default 2015-06-30 12:22:04 +00:00
simd12.C Run testsuite/libgomp.c++/c++.exp at -O2 by default 2015-06-30 12:22:04 +00:00
simd13.C Run testsuite/libgomp.c++/c++.exp at -O2 by default 2015-06-30 12:22:04 +00:00
simd14.C builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
single-1.C
single-2.C
single-3.C
target-1.C target.c: New file. 2013-10-11 11:26:50 +02:00
target-2-aux.cc target.c: New file. 2013-10-11 11:26:50 +02:00
target-2.C builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
target-3.C target.c: New file. 2013-10-11 11:26:50 +02:00
target-4.C c-decl.c (c_decl_attributes): Also add "omp declare target" attribute for DECL_EXTERNAL VAR_DECLs. 2015-03-19 20:12:43 +01:00
target-5.C builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
target-6.C builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
target-7.C builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
target-8.C builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
target-9.C builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
target-10.C builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
target-11.C builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
target-12.C builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
target-13.C gcc/ 2015-11-05 16:08:08 +01:00
target-14.C gcc/ 2015-11-05 16:08:08 +01:00
target-15.C gcc/ 2015-11-05 16:08:08 +01:00
target-16.C gcc/ 2015-11-05 16:08:08 +01:00
target-17.C gcc/ 2015-11-05 16:08:08 +01:00
target-18.C gcc/ 2015-11-05 16:08:08 +01:00
target-19.C gcc/ 2015-11-05 16:08:08 +01:00
target-20.C gimplify.c (gimplify_scan_omp_clauses): Handle COMPONENT_REFs with base of reference to struct. 2016-06-16 21:03:05 +02:00
target-21.C semantics.c (handle_omp_array_sections_1): Don't ICE when processing_template_decl when checking for bitfields and unions. 2016-06-17 15:35:42 +02:00
task-1.C
task-2.C
task-3.C
task-4.C
task-5.C
task-6.C
task-7.C
task-8.C re PR target/49965 (libgomp.c++/reduction-4.C and libgomp.c++/task-8.C FAIL on Solaris 11/SPARC) 2011-08-05 12:22:10 +00:00
taskgroup-1.C target.c: New file. 2013-10-11 11:26:50 +02:00
taskloop-1.C builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
taskloop-2.C builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
taskloop-3.C builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
taskloop-4.C builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
taskloop-5.C builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
taskloop-6.C builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
taskloop-7.C builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
taskloop-8.C builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
taskloop-9.C builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
tls-init1.C * semantics.c (finish_omp_threadprivate): Call complete_type. 2012-10-25 11:53:40 -04:00
udr-1.C target.c: New file. 2013-10-11 11:26:50 +02:00
udr-2.C target.c: New file. 2013-10-11 11:26:50 +02:00
udr-3.C target.c: New file. 2013-10-11 11:26:50 +02:00
udr-4.C target.c: New file. 2013-10-11 11:26:50 +02:00
udr-5.C target.c: New file. 2013-10-11 11:26:50 +02:00
udr-6.C target.c: New file. 2013-10-11 11:26:50 +02:00
udr-7.C target.c: New file. 2013-10-11 11:26:50 +02:00
udr-8.C target.c: New file. 2013-10-11 11:26:50 +02:00
udr-9.C target.c: New file. 2013-10-11 11:26:50 +02:00
udr-11.C Run testsuite/libgomp.c++/c++.exp at -O2 by default 2015-06-30 12:22:04 +00:00
udr-12.C Run testsuite/libgomp.c++/c++.exp at -O2 by default 2015-06-30 12:22:04 +00:00
udr-13.C Run testsuite/libgomp.c++/c++.exp at -O2 by default 2015-06-30 12:22:04 +00:00
udr-14.C Run testsuite/libgomp.c++/c++.exp at -O2 by default 2015-06-30 12:22:04 +00:00
udr-15.C Run testsuite/libgomp.c++/c++.exp at -O2 by default 2015-06-30 12:22:04 +00:00
udr-16.C Run testsuite/libgomp.c++/c++.exp at -O2 by default 2015-06-30 12:22:04 +00:00
udr-17.C Run testsuite/libgomp.c++/c++.exp at -O2 by default 2015-06-30 12:22:04 +00:00
udr-18.C Run testsuite/libgomp.c++/c++.exp at -O2 by default 2015-06-30 12:22:04 +00:00
udr-19.C Run testsuite/libgomp.c++/c++.exp at -O2 by default 2015-06-30 12:22:04 +00:00