From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 111708 invoked by alias); 28 Jun 2016 19:59:55 -0000 Mailing-List: contact fortran-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: fortran-owner@gcc.gnu.org Received: (qmail 111688 invoked by uid 89); 28 Jun 2016 19:59:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Collection, UD:bris.ac.uk, organization, phone X-HELO: mail-vk0-f52.google.com Received: from mail-vk0-f52.google.com (HELO mail-vk0-f52.google.com) (209.85.213.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 28 Jun 2016 19:59:44 +0000 Received: by mail-vk0-f52.google.com with SMTP id j2so37323096vkg.2 for ; Tue, 28 Jun 2016 12:59:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ZazB9Y3wHKXmD5Z06Llas7xthrbchvpRJbrgBjNiqmA=; b=KhuYuOBMkW5SCRD7LaJVvhTanbzE2WdAEMHKIoEuNbHa1iq54CsfVN+PffHp8FNpoX 0PCy28LYtLZjnjcRncFEq+Qcoy9EU6fNqhcYISsx5AgZP+Z/O1Q3CfObRIGZPxUXSWgC Xlq2N+VF8PdMGBNkpnH+JHNMjY+SwURdW4NXpADMIe7VzOp5HY5/R9uZy9la8pqXiyGx R7dYAZ0x5HEE8LXGhtgKe1DSnza5orQnelttFEesOwLOs7fLn7JU28wAaXG10U9BU5VD Af+5xyYGFHTRpyCMWWcbTRQsaaSuGojmPionU+vMfP58F6bWJq/JFbzvSyJIe0hmBZUw j11A== X-Gm-Message-State: ALyK8tK8xcw0/7qvyEkyiZbeB17FHAUrX2pJgZwG0uhSrtIBUuLZ0A0kPwRapy+h7ds3jADOjb7qUZEGjrDUr/5m X-Received: by 10.176.3.1 with SMTP id 1mr1511455uat.139.1467143982365; Tue, 28 Jun 2016 12:59:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.64.199 with HTTP; Tue, 28 Jun 2016 12:59:41 -0700 (PDT) In-Reply-To: References: From: Anton Shterenlikht Date: Tue, 28 Jun 2016 19:59:00 -0000 Message-ID: Subject: Re: This OpenMP code doesn't seem to compile correctly (5.4, 6.1). To: Toon Moene Cc: fortran@gcc.gnu.org Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2016-06/txt/msg00112.txt.bz2 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 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 Anton On 28/06/2016, Toon Moene wrote: > > > > -------- Forwarded Message -------- > Subject: This OpenMP code doesn't seem to compile correctly (5.4, 6.1). > Date: Tue, 28 Jun 2016 21:13:43 +0200 > From: Toon Moene > Organization: Moene Computational Physics, Maartensdijk, The Netherlands > To: fortran@gcc.gn.org > > See the attached. > > I can't find fault with the code, yet it produces: > > 99999.0000 99999.0000 99999.0000 99999.0000 > > instead of zeros. > > Is this indeed an error (in that case I will open a BugZilla report). > > Kind regards, > > -- > Toon Moene - e-mail: toon@moene.org - phone: +31 346 214290 > Saturnushof 14, 3738 XG Maartensdijk, The Netherlands > At home: http://moene.org/~toon/; weather: http://moene.org/~hirlam/ > Progress of GNU Fortran: http://gcc.gnu.org/wiki/GFortran#news > >