[Bug middle-end/70643] broken openacc reduction inside a fortran module
cesar at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Apr 14 13:45:00 GMT 2016
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
More information about the Gcc-bugs
mailing list