[Bug middle-end/78266] broken openacc loop partitioning on nvptx offloading targets

aldyh at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 13 16:37:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78266

--- Comment #11 from Aldy Hernandez <aldyh at gcc dot gnu.org> ---
Author: aldyh
Date: Wed Sep 13 16:36:54 2017
New Revision: 252328

URL: https://gcc.gnu.org/viewcvs?rev=252328&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:
    branches/range-gen2/libgomp/testsuite/libgomp.oacc-c-c++-common/vprop-2.c
Modified:
    branches/range-gen2/gcc/ChangeLog
    branches/range-gen2/gcc/omp-expand.c
    branches/range-gen2/libgomp/ChangeLog
    branches/range-gen2/libgomp/testsuite/libgomp.oacc-c-c++-common/vprop.c


More information about the Gcc-bugs mailing list