gcc/gcc/testsuite/g++.dg
Chung-Lin Tang 02889d23ee gimplify.c (gimplify_scan_omp_clauses): No special handling for OMP_CLAUSE_TILE.
2017-02-09  Nathan Sidwell  <nathan@codesourcery.com>
	    Cesar Philippidis  <cesar@codesourcery.com>
	    Joseph Myers  <joseph@codesourcery.com>
	    Chung-Lin Tang  <cltang@codesourcery.com>

	gcc/
	* gimplify.c (gimplify_scan_omp_clauses): No special handling for
	OMP_CLAUSE_TILE.
	(gimplify_adjust_omp_clauses): Don't delete TILE.
	(gimplify_omp_for): Deal with TILE.
	* internal-fn.c (expand_GOACC_TILE): New function.
	* internal-fn.def (GOACC_DIM_POS): Comment may be overly conservative.
	(GOACC_TILE): New.
	* omp-expand.c (struct oacc_collapse): Add tile and outer fields.
	(expand_oacc_collapse_init): Add LOC paramter.  Initialize tile
	element fields.
	(expand_oacc_collapse_vars): Add INNER parm, adjust for tiling,
	avoid DIV for outermost collapse var.
	(expand_oacc_for): Insert tile element loop as needed.  Adjust.
	Remove out of date comments, fix whitespace.
	* omp-general.c (omp_extract_for_data): Deal with tiling.
	* omp-general.h (enum oacc_loop_flags): Add OLF_TILE flag,
	adjust OLF_DIM_BASE value.
	(struct omp_for_data): Add tiling field.
	* omp-low.c (scan_sharing_clauses): Allow OMP_CLAUSE_TILE.
	(lower_oacc_head_mark): Add OLF_TILE as appropriate.  Ensure 2 levels
	for auto loops.  Remove default auto determining, moved to
	oacc_loop_fixed_partitions.
	* omp-offload.c (struct oacc_loop): Change 'ifns' to vector of call
	stmts, add e_mask field.
	(oacc_dim_call): New function, abstracted out from oacc_thread_numbers.
	(oacc_thread_numbers): Use oacc_dim_call.
	(oacc_xform_tile): New.
	(new_oacc_loop_raw): Initialize e_mask, adjust for ifns vector.
	(finish_oacc_loop): Adjust for ifns vector.
	(oacc_loop_discover_walk): Append loop abstraction sites to list,
	add case for GOACC_TILE fns.
	(oacc_loop_xform_loop): Delete.
	(oacc_loop_process): Iterate over call list directly, and add
	handling for GOACC_TILE fns.
	(oacc_loop_fixed_partitions): Determine default auto, deal with TILE,
	dump partitioning.
	(oacc_loop_auto_partitions): Add outer_assign parm. Assign all but
	vector partitioning to outer loops.  Assign 2 partitions to loops
	when available. Add TILE handling.
	(oacc_loop_partition): Adjust oacc_loop_auto_partitions call.
	(execite_oacc_device_lower): Process GOACC_TILE fns, ignore unknown specs.
	* tree-nested.c (convert_nonlocal_omp_clauses): Allow OMP_CLAUSE_TILE.
	* tree.c (omp_clause_num_ops): Adjust TILE ops.
	* tree.h (OMP_CLAUSE_TILE_ITERVAR, OMP_CLAUSE_TILE_COUNT): New.

	gcc/c/
	* c-parser.c (c_parser_omp_clause_collapse): Disallow tile.
	(c_parser_oacc_clause_tile): Disallow collapse. Fix parsing and
	semantic checking.
	* c-parser.c (c_parser_omp_for_loop): Accept tiling constructs.

	gcc/cp/
	* parser.c (cp_parser_oacc_clause_tile): Disallow collapse.  Fix
	parsing.  Parse constant expression. Remove semantic checking.
	(cp_parser_omp_clause_collapse): Disallow tile.
	(cp_parser_omp_for_loop): Deal with tile clause.  Don't emit a parse
	error about missing for after already emitting one.  Use more
	conventional for idiom for unbounded loop.
	* pt.c (tsubst_omp_clauses): Handle OMP_CLAUSE_TILE.
	* semantics.c (finish_omp_clauses): Correct TILE semantic check.
	(finish_omp_for): Deal with tile clause.

	gcc/fortran/
	* openmp.c (resolve_omp_clauses): Error on directives
	containing both tile and collapse clauses.
	(resolve_oacc_loop_blocks): Represent '*' tile arguments as zero.
	* trans-openmp.c (gfc_trans_omp_do): Lower tiled loops like
	collapsed loops.

	gcc/testsuite/
	* c-c++-common/goacc/combined-directives.c: Remove xfail.
	* c-c++-common/goacc/loop-auto-1.c: Adjust and add additional case.
	* c-c++-common/goacc/loop-auto-2.c: New.
	* c-c++-common/goacc/tile.c: Include stdbool, fix expected errors.
	* c-c++-common/goacc/tile-2.c: New.
	* g++.dg/goacc/template.C: Test tile subst.  Adjust erroneous uses.
	* g++.dg/goacc/tile-1.C: New, check tile subst.
	* gcc.dg/goacc/loop-processing-1.c: Adjust dg-final pattern.
	* gfortran.dg/goacc/combined-directives.f90: Remove xfail.
	* gfortran.dg/goacc/tile-1.f90: New test.
	* gfortran.dg/goacc/tile-2.f90: New test.
	* gfortran.dg/goacc/tile-lowering.f95: New test.

	libgomp/
	* testsuite/libgomp.oacc-c-c++-common/tile-1.c: New.
	* testsuite/libgomp.oacc-c-c++-common/loop-auto-1.c: Adjust and
	add additional case.
	* testsuite/libgomp.oacc-c-c++-common/vprop.c: XFAIL under
	"openacc_nvidia_accel_selected".
	* libgomp.oacc-fortran/nested-function-1.f90 (test2):
	Add num_workers(8) clause.

From-SVN: r245300
2017-02-09 13:46:20 +00:00
..
DRs DR 1511 - const volatile variables and ODR 2016-10-14 21:00:38 +02:00
abi Fix PR70182 -- missing "on" in mangling of unresolved operators 2017-01-18 08:49:11 +00:00
asan pr63316.c: Use dg-skip-if instead of dg-options. 2017-02-02 11:18:49 +01:00
bprob Update copyright years. 2017-01-01 13:07:43 +01:00
charset Update copyright years. 2017-01-01 13:07:43 +01:00
cilk-plus fib-opr-overload.cc (main): Change all occurrences of 40 to 32. 2017-01-27 12:34:58 +01:00
compat Update copyright years. 2017-01-01 13:07:43 +01:00
concepts PR c++/68666 - member variable template-id 2017-01-18 16:05:12 -05:00
conversion Harmonize diagnostics for invalid reference binding 2016-08-06 01:07:05 +01:00
cpp expr.c (cpp_classify_number): Hex floats are new in C++1z. 2016-03-15 08:08:31 -04:00
cpp0x RISC-V Port: gcc/testsuite 2017-02-06 21:39:03 +00:00
cpp1y re PR testsuite/68972 (g++.dg/cpp1y/vla-initlist1.C test case fails on powerpc64le) 2017-02-08 17:33:57 +00:00
cpp1z re PR c++/79372 (ICE on C++ code with illegal decomposition declaration on x86_64-linux-gnu: in tsubst_decomp_names, at cp/pt.c:15599) 2017-02-06 21:03:15 +01:00
debug re PR testsuite/79324 (The tests introduced at revision r245052 fail on darwin) 2017-02-01 16:47:52 +01:00
delayedfold re PR c++/70153 (ICE on valid C++ code) 2016-03-10 15:13:01 +00:00
dfp Fix PR70182 -- missing "on" in mangling of unresolved operators 2017-01-18 08:49:11 +00:00
diagnostic re PR c++/79304 (diagnostic shows bogus expression ((X<T>*)this)->.c) 2017-01-31 22:38:00 +01:00
eh P0003R5 - removal of dynamic exception specification from C++17 2016-12-08 09:26:06 +01:00
expr atomic-12.c: Skip for C++1z. 2016-09-23 14:40:16 +00:00
ext PR c++/71290 - Flexible array member is not diagnosed with -pedantic 2017-01-25 16:11:53 -07:00
gcov Update copyright years. 2017-01-01 13:07:43 +01:00
goacc gimplify.c (gimplify_scan_omp_clauses): No special handling for OMP_CLAUSE_TILE. 2017-02-09 13:46:20 +00:00
goacc-gomp Update copyright years. 2017-01-01 13:07:43 +01:00
gomp re PR debug/78363 (ICE in in force_type_die, at dwarf2out.c:24864) 2017-01-25 09:48:10 +00:00
graphite Update copyright years. 2017-01-01 13:07:43 +01:00
guality cp-gimplify.c (genericize_cp_loop): Change LOOP_EXPR's location to start of loop body instead of start of loop. 2015-11-26 17:52:01 +00:00
inherit PR c/78165 - avoid printing type suffix for constants in %E output 2016-12-08 14:08:06 -07:00
init PR c++/78689 - ICE on constructor with label 2017-02-03 17:42:37 -05:00
ipa Fix wrong assumption in contains_type_p (PR ipa/71207). 2017-01-17 15:11:00 +00:00
lookup re PR c++/79377 (ICE with increment operator in -fpermissive mode) 2017-02-06 21:05:09 +01:00
lto re PR debug/79000 (ICE: in gen_member_die, at dwarf2out.c:23995) 2017-01-09 08:22:58 +00:00
opt re PR c++/79267 (internal compiler error with -O3 or -O2 -finline-functions) 2017-01-31 09:33:36 +01:00
other re PR c++/68727 (invalid offsetof expressions accepted) 2017-01-26 20:39:40 +01:00
overload PR c++/78369 - {} as default argument 2016-11-17 16:40:48 -05:00
parse re PR c++/78647 (ICE on invalid C++ code on x86_64-linux-gnu (internal compiler error: tree check: expected tree_list, have error_mark in get_attribute_name, at attribs.c:664)) 2016-12-12 17:58:00 +00:00
pch Update copyright years. 2017-01-01 13:07:43 +01:00
plugin Update copyright years. 2017-01-01 13:07:43 +01:00
rtti P0003R5 - removal of dynamic exception specification from C++17 2016-12-08 09:26:06 +01:00
simulate-thread Update copyright years. 2017-01-01 13:07:43 +01:00
special Update copyright years. 2017-01-01 13:07:43 +01:00
tc1 re PR c++/71973 (c++ handles built-in functions inconsistently) 2016-11-04 15:30:52 +00:00
template PR c++/71193 - incomplete types in templates 2017-02-06 16:12:13 -05:00
tls Only xfail g++.dg/tls/thread_local-order2.C on Solaris 2017-02-07 17:13:40 +00:00
tm Update copyright years. 2017-01-01 13:07:43 +01:00
torture re PR target/69264 (ICE building spidermonkey -mcpu=970 -maltivec -O3: rs6000_builtin_vectorization_cost, at config/rs6000/rs6000.c:4350) 2017-01-25 12:30:41 +00:00
tree-prof Fix profile corruption with -O1 (PR gcov-profile/79259) 2017-01-30 15:35:57 +00:00
tree-ssa re PR tree-optimization/79159 (spurious array-bounds warning) 2017-01-24 13:09:27 +00:00
tsan Update copyright years. 2017-01-01 13:07:43 +01:00
ubsan PR c++/71290 - Flexible array member is not diagnosed with -pedantic 2017-01-25 16:11:53 -07:00
vect re PR testsuite/65484 (FAIL: g++.dg/vect/pr36648.cc on powerpc64) 2017-01-27 15:59:02 +00:00
warn re PR c++/79290 (forming pointer to member function tries to access "__pfn") 2017-01-31 19:37:11 +00:00
20090107-1.C
20090121-1.C
README Update copyright years. 2017-01-01 13:07:43 +01:00
Wattributes.C PR c++/38611 - missing -Wattributes on a typedef with attribute aligned 2016-05-10 21:04:03 -06:00
Wframe-address-in-Wall.C
Wframe-address.C
Wno-frame-address.C * g++.dg/Wno-frame-address.C: Skip on IA-64. 2016-03-04 22:56:18 +00:00
Wshadow.C
addr_builtin-1.C PR c/66516 - missing diagnostic on taking the address of a builtin function 2015-11-25 16:29:57 -07:00
cdce3.C
conflict-markers-1.C Better error recovery for merge-conflict markers 2015-12-16 18:15:01 +00:00
constexpr-null1.C
dg.exp Update copyright years. 2017-01-01 13:07:43 +01:00
fstack-protector-strong.C
func-args-1.C
header.C fix interaction of -S and -x {c,c++}-header 2016-07-04 07:41:32 +00:00
pr37742.C
pr44328.C
pr44486.C
pr45038.C
pr45049-1.C
pr45049-2.C
pr45056.C
pr45112.C
pr45310.C
pr45330.C
pr45788.C
pr46065.C
pr46852.C
pr46868.C
pr46890.C
pr47053.C
pr47589.C
pr48484.C
pr48633.C
pr48660.C
pr48772.C
pr49718.C
pr49847.C
pr50672.C
pr50763-3.C
pr50763-4.C
pr51264-4.C
pr53055.C
pr54442.C
pr54655.C
pr55106.C
pr55263.C
pr55513.C
pr55604.C
pr57175.C
pr57662.C
pr57878.C
pr58123.C
pr58389.C
pr58438.C
pr58950.C
pr59445.C
pr59477.C
pr59482.C
pr59510.C
pr59695.C
pr60518.C
pr60969.C
pr61033.C re PR debug/61033 (Infinite loop in variable tracking) 2016-02-24 16:41:52 +00:00
pr61094.C
pr61289-2.C
pr61289.C
pr61324.C
pr62079.C
pr62314-2.C PR c++/62314: add fixit hint for "expected ';' after class definition" 2016-07-05 15:50:54 +00:00
pr62314.C PR c++/62314: add fixit hint for missing "template <> " in explicit specialization 2016-05-02 18:36:40 +00:00
pr63384.C pr63384.C: Add -w to dg-options. 2016-03-15 21:11:14 +03:00
pr63766.C
pr63995-1.C Require non-x32 target for compile-time MPX tests 2016-01-20 05:48:49 -08:00
pr64037.C
pr64191.C
pr64353.C
pr64688-2.C
pr64688.C
pr65032.C
pr65049.C
pr65240-1.C
pr65240-2.C
pr65240-3.C
pr65240-4.C
pr65240.h
pr65242.C
pr65295.C * g++.dg/pr65295.C: Use target c++14. 2016-05-24 23:41:06 +00:00
pr66655.C Add a test for PR66655 2016-01-07 17:13:50 +00:00
pr66655.h Add a test for PR66655 2016-01-07 17:13:50 +00:00
pr66655_1.cc Add a test for PR66655 2016-01-07 17:13:50 +00:00
pr66866.C
pr67211.C
pr67351.C
pr67405.C
pr67666.C
pr67671.C
pr67699.C
pr67876.C pr67876.C: Remove duplicate content. 2015-11-26 11:01:02 -07:00
pr67989.C pr67989.C: Remove ARM-specific option. 2016-01-28 06:29:10 +00:00
pr68062.C
pr68392.C re PR rtl-optimization/68392 (ICE: SIGSEGV in update_uses (fwprop.c:896) with -fno-checking) 2015-11-24 16:00:51 +00:00
pr68449.C re PR c++/68449 (ICE in cxx_eval_constant_expression on atomic_load in C++) 2016-01-08 19:08:37 +00:00
pr68770.C re PR target/68770 (Conditional jump or move depends on uninitialised value(s) default_secondary_reload() targhooks.c:940) 2016-01-05 13:20:29 +00:00
pr68831.C Fix PR c++/68831 (superfluous -Waddress warning for C++ delete) 2015-12-18 02:25:39 +00:00
pr68991-1.C Add vector_memory_operand and "Bm" constraint 2016-01-05 12:17:26 -08:00
pr68991-2.C Add vector_memory_operand and "Bm" constraint 2016-01-05 12:17:26 -08:00
pr69113.C re PR c++/69113 (ICE: in vague_linkage_p, at cp/decl2.c:1875 with -fno-weak) 2016-01-09 11:15:26 +00:00
pr69123.C [PR69123] fix handling of MEMs in VTA to avoid dataflow oscillation 2016-01-11 10:40:33 +00:00
pr69379.C re PR c++/69379 (ICE in fold_convert_loc, at fold-const.c:2366) 2016-01-27 16:46:40 +00:00
pr69667.C re PR target/69667 (ppc64le -mlra: ICE: Max. number of generated reload insns per insn is achieved (90)) 2016-02-04 21:05:14 +00:00
pr70098.C pr70098.C: Remove XFAIL for powerpc64_no_dm. 2016-07-29 18:29:01 +00:00
pr70590-2.C Fix PR c++/70590 (error: location references block not in block tree) 2016-04-08 20:17:10 +00:00
pr70590.C Fix PR c++/70590 (error: location references block not in block tree) 2016-04-08 20:17:10 +00:00
pr70965.C [PR 70965] Schedule extra rebuild_cgraph_edges 2016-11-25 10:49:19 +01:00
pr71184.C PR c++/71184: Fix NULL dereference in cp_parser_operator 2016-05-19 18:10:30 +00:00
pr71389.C re PR target/71389 (ICE on trunk gcc on ivybridge target (df_refs_verify)) 2016-06-06 00:55:35 +02:00
pr71488.C re PR tree-optimization/71488 (Wrong code for vector comparisons with ivybridge and westmere targets) 2016-06-23 18:58:54 +02:00
pr71624.C re PR ipa/71624 ([CHKP] internal compiler error: in duplicate_thunk_for_node) 2016-07-07 11:45:11 +00:00
pr71633.C re PR ipa/71633 ([CHKP] internal compiler error: in inline_call) 2016-07-13 11:02:15 +00:00
pr71655.C re PR tree-optimization/71655 (GCC trunk ICE on westmere target) 2016-06-29 12:26:40 +00:00
pr71694.C re PR c++/71694 (store-data race with bitfields and tail-padding in C++) 2016-12-16 09:40:03 +00:00
pr71973-1.C re PR c++/71973 (c++ handles built-in functions inconsistently) 2016-11-21 14:17:05 +00:00
pr71973-2.C re PR c++/71973 (c++ handles built-in functions inconsistently) 2016-11-21 14:17:05 +00:00
pr71973-3.C re PR c++/71973 (c++ handles built-in functions inconsistently) 2016-11-21 14:17:05 +00:00
pr77427.C Don't treat array as builtin type in set_underlying_type 2016-09-13 15:56:03 +00:00
pr77550.C re PR c++/77748 (pr77550.C fails on arm-none-eabi) 2016-09-28 12:11:57 +00:00
pr77812.C re PR c++/77812 (incorrectly rejects valid C++ code that uses enum in template instantiation) 2017-01-11 20:37:16 +00:00
pr78060.C fix pr78060 pr78061 pr78088 2016-10-26 12:54:30 +00:00
pr78088.C fix pr78060 pr78061 pr78088 2016-10-26 12:54:30 +00:00
pr78112-2.C pr78112-2.C: Skip on hppa*-*-hpux*. 2017-02-04 01:16:54 +00:00
pr78112.C [PR78112] Remove platform-dependent checks in g++.dg/pr78112.C 2016-12-08 11:01:03 +00:00
pr78229.C re PR target/78229 (ICE in redirect_eh_edge_1, at tree-eh.c:2305) 2016-11-07 12:26:48 +00:00
pr78933.C Add RejectNegative for a c option. 2016-12-29 10:35:33 +00:00
pr79091.C re PR c++/79091 (ICE in write_unnamed_type) 2017-01-18 12:51:28 +00:00
predict-loop-exit-1.C passes.def (pass_early_thread_jumps): Schedule after forwprop. 2016-09-18 18:44:53 +00:00
predict-loop-exit-2.C passes.def (pass_early_thread_jumps): Schedule after forwprop. 2016-09-18 18:44:53 +00:00
predict-loop-exit-3.C passes.def (pass_early_thread_jumps): Schedule after forwprop. 2016-09-18 18:44:53 +00:00
prof-robust-1.C
pubtypes.C
spellcheck-c++-11-keyword.C spellcheck bugfixes: don't offer the goal string as a suggestion 2016-11-29 16:25:01 +00:00
spellcheck-fields-2.C PR c++/62314: C++: add fixit hint to misspelled member names 2016-05-02 19:09:30 +00:00
spellcheck-fields.C Rename TYPE_ANONYMOUS_P to TYPE_UNNAMED_P. 2016-08-04 12:06:17 -04:00
spellcheck-identifiers-2.C C++ FE: handle misspelled identifiers and typenames 2016-07-20 18:42:11 +00:00
spellcheck-identifiers.C C++ FE: handle misspelled identifiers and typenames 2016-07-20 18:42:11 +00:00
spellcheck-macro-ordering.C spellcheck bugfixes: don't offer the goal string as a suggestion 2016-11-29 16:25:01 +00:00
spellcheck-pr77829.C C++: fix fix-it hints for misspellings within explicit namespaces 2017-01-20 14:36:46 +00:00
spellcheck-pr78313.C spellcheck bugfixes: don't offer the goal string as a suggestion 2016-11-29 16:25:01 +00:00
spellcheck-pr78656.C C++: fix fix-it hints for misspellings within explicit namespaces 2017-01-20 14:36:46 +00:00
spellcheck-pr79298.C Fix ICE with spelling hints within explicit namespace aliases (PR c++/79298) 2017-01-31 21:30:42 +00:00
spellcheck-typenames.C C++ FE: handle misspelled identifiers and typenames 2016-07-20 18:42:11 +00:00
stackprotectexplicit2.C
system-binary-constants-1.C
system-binary-constants-1.h
uninit-pred-1_a.C
uninit-pred-1_b.C
uninit-pred-2_a.C
uninit-pred-2_b.C
uninit-pred-3_a.C
uninit-pred-3_b.C
uninit-pred-4.C
uninit-pred-loop-1_a.cc
uninit-pred-loop-1_b.cc
uninit-pred-loop-1_c.cc
uninit-pred-loop_1.cc

README

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Subdirectories:

abi	 Tests for ABI compatibility -- mangling, object layout, etc.
bprob	 Tests for functionality of profile-directed block ordering.
charset	 Tests for input character set translation.
compat	 Tests for binary compatibility (consistency, not ABI conformance).
conversion Tests for correct type conversions.
cpp	 Tests for the preprocessor.
debug	 Tests for debugging options.
eh	 Tests for exception handling.
expr     Tests for expressions.
ext	 Tests for GNU language extensions.
gcov	 Tests for GCOV (code coverage) support.
inherit	 Tests for inheritance -- virtual functions, multiple inheritance, etc.
init	 Tests for initialization semantics, constructors/destructors, etc.
lookup	 Tests for lookup semantics, namespaces, using, etc.
lto	 Tests for Link Time Optimization.
opt	 Tests for fixes of bugs with particular optimizations.
overload Tests for overload resolution and conversions.
parse	 Tests for parsing.
pch	 Tests for precompiled headers.
plugin   Tests for plugin support.
rtti	 Tests for run-time type identification (typeid, dynamic_cast, etc.)
template Tests for templates.
tc1	 Tests for Technical Corrigendum 1 conformance.
tls	 Tests for support of thread-local data.
tree-ssa Tests for Tree SSA optimizations.
warn	 Tests for compiler warnings.

other	 Tests that don't fit into one of the other categories.

special	 Tests that need custom expect code to run them; see special/ecos.exp
	 for an example.


Copyright (C) 2001-2017 Free Software Foundation, Inc.

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.