This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: This OpenMP code doesn't seem to compile correctly (5.4, 6.1).
- From: Anton Shterenlikht <mexas at bris dot ac dot uk>
- To: fortran at gcc dot gnu dot org, toon at moene dot org
- Date: Tue, 28 Jun 2016 23:15:03 +0100 (BST)
- Subject: Re: This OpenMP code doesn't seem to compile correctly (5.4, 6.1).
- Authentication-results: sourceware.org; auth=none
- Reply-to: mexas at bris dot ac dot uk
>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