[patch] fix an openacc reduction test for PR68242

Cesar Philippidis cesar@codesourcery.com
Wed Apr 13 16:05:00 GMT 2016


As stated in PR68242, the OpenACC libgomp reduction test reduction-2.c
has one test case involving a multiplication reduction which overflows
and that results in a failure on i686-linux host targets. This patch
adjusts the reduction size to prevent the overflow from happening. I've
also adjusted reduction-1.c because it can also overflow.

This patch has been tested on i686-linux and x86_64-linux. I'll apply
this patch to trunk as obvious shortly.

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


More information about the Gcc-patches mailing list