[Bug fortran/52075] OpenMP atomic update failing if -fbounds-check specified

longb at cray dot com gcc-bugzilla@gcc.gnu.org
Tue Dec 9 20:49:00 GMT 2014


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

--- Comment #4 from Bill Long <longb at cray dot com> ---
With this version:

> gfortran --version
GNU Fortran (GCC) 4.9.1 20140716 (Cray Inc.)
Copyright (C) 2014 Free Software Foundation, Inc.


I see the following:

> gfortran -fopenmp -fbounds-check test.f90
> ./a.out
> export OMP_NUM_THREADS=4
> ./a.out
 FAIL - X(          16 ) ==           11  (expected           15 )
STOP 1



More information about the Gcc-bugs mailing list