This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/78266] broken openacc loop partitioning on nvptx offloading targets
- From: "vries at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 07 Aug 2017 17:06:43 +0000
- Subject: [Bug middle-end/78266] broken openacc loop partitioning on nvptx offloading targets
- Auto-submitted: auto-generated
- References: <bug-78266-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78266
--- Comment #5 from Tom de Vries <vries at gcc dot gnu.org> ---
Author: vries
Date: Mon Aug 7 17:06:11 2017
New Revision: 250925
URL: https://gcc.gnu.org/viewcvs?rev=250925&root=gcc&view=rev
Log:
Fix diff_type in expand_oacc_for char iter_type
2017-08-07 Tom de Vries <tom@codesourcery.com>
PR middle-end/78266
* omp-expand.c (expand_oacc_for): Ensure diff_type is large enough.
* testsuite/libgomp.oacc-c-c++-common/vprop-2.c: New test.
* testsuite/libgomp.oacc-c-c++-common/vprop.c: Remove xfail.
Added:
trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/vprop-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/omp-expand.c
trunk/libgomp/ChangeLog
trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/vprop.c