[patch] fix an openacc reference-type reduction bug in PR70643

Cesar Philippidis cesar@codesourcery.com
Wed Apr 13 22:56:00 GMT 2016


Thomas noticed that one of the openacc fortran tests involving
reductions inside fortran modules in gomp-4_0-branch had regressed after
I backported the recent reduction changes I made to trunk. That failure
occurred because lower_oacc_reductions wasn't considering that reduction
initializers can be non-integral constants. This patch fixes that
problem and adds a new runtime test case.

Is this patch ok for trunk? I tested it on x86_64-linux.

Cesar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr70643.diff
Type: text/x-patch
Size: 1917 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20160413/c8a86a98/attachment.bin>


More information about the Gcc-patches mailing list