This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: This OpenMP code doesn't seem to compile correctly (5.4, 6.1).


>On 06/28/2016 09:59 PM, Anton Shterenlikht wrote:
>
>> mech-as222> uname -a
>> FreeBSD mech-as222.men.bris.ac.uk 10.3-RELEASE-p4 FreeBSD
>> 10.3-RELEASE-p4 #0: Sat May 28 12:23:44 UTC 2016
>> root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>
>Fascinating - a colleague of mine thought it might be related to a 
>kernel problem. I am using:
>
>toon@moene:~/src$ uname -a
>Linux moene.org 4.6.0-1-amd64 #1 SMP Debian 4.6.1-1 (2016-06-06) x86_64 
>GNU/Linux

And with 4.8:

mech-as222> gfortran48 -Wl,-rpath="/usr/local/lib/gcc48" z.f90
mech-as222> ./a.out 
   0.00000000       0.00000000       0.00000000       0.00000000    

Note that your versions of 6 and 5 branches are higher than mine.
Perhaps a regression?

Anton

>> mech-as222> gfortran6 -Wl,-rpath="/usr/local/lib/gcc6" z.f90
>> mech-as222> ./a.out
>>    0.00000000       0.00000000       0.00000000       0.00000000
>> mech-as222> gfortran6 --version
>> GNU Fortran (FreeBSD Ports Collection) 6.0.0 20150927 (experimental)
>>
>> mech-as222> gfortran5 -Wl,-rpath="/usr/local/lib/gcc5" z.f90
>> mech-as222> ./a.out
>>    0.00000000       0.00000000       0.00000000       0.00000000
>> mech-as222> gfortran5 --version
>> GNU Fortran (FreeBSD Ports Collection) 5.3.0


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]