This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/70643] broken openacc reduction inside a fortran module


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

--- Comment #1 from cesar at gcc dot gnu.org ---
Author: cesar
Date: Thu Apr 14 13:44:17 2016
New Revision: 234973

URL: https://gcc.gnu.org/viewcvs?rev=234973&root=gcc&view=rev
Log:
        PR middle-end/70643

        gcc/
        * omp-low.c (lower_oacc_reductions): Check for TREE_CONSTANT
        when building a mem ref for the incoming reduction variable.

        libgomp/
        * testsuite/libgomp.oacc-fortran/pr70643.f90: New test.


Added:
    trunk/libgomp/testsuite/libgomp.oacc-fortran/pr70643.f90
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/omp-low.c
    trunk/libgomp/ChangeLog

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]