[patch][Fortran] Actually permit OpenMP's 'target simd'

Bernhard Reutner-Fischer rep.dot.nop@gmail.com
Mon Oct 14 09:58:00 GMT 2019


On 14 October 2019 10:50:55 CEST, Jakub Jelinek <jakub@redhat.com> wrote:
>On Tue, Oct 08, 2019 at 02:04:17PM +0200, Tobias Burnus wrote:
>> 	testsuite/
>> 	* gfortran.dg/gomp/target-simd.f90: New.
>
>John reported in bugzilla the testcase fails on hppa with an error that
>looks like heap corruption, and indeed, running the test under valgrind
>fails on x86_64-linux too, the allocatable arrays are 1..100, but the
>loops
>were reading and writing 0..100.  Fixed thusly, tested on x86_64-linux,
>committed to trunk.

Which suggests that we ought to diagnose this, obviously.



More information about the Fortran mailing list