From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17705 invoked by alias); 11 Mar 2014 03:38:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 17636 invoked by uid 48); 11 Mar 2014 03:38:45 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/38199] [4.7/4.8/4.9 Regression] missed optimization: I/O performance Date: Tue, 11 Mar 2014 03:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Version: 4.4.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: jvdelisle at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-03/txt/msg00861.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38199 --- Comment #38 from Dominique d'Humieres --- > Dominiq, can you try FM908 with something like Valgrind and also try different > optimization levels and see if anything odd pops up. I don't have access to valgrind on this machine, but if I compile with -fsanitize=address, I get ... 7 FAIL COMPUTED= 0.3400000000D-03 CORRECT= 0.3438457000D+03 8 FAIL COMPUTED= 0.0000000000D+00 CORRECT= 0.3438457000D+03 9 FAIL COMPUTED= 0.0000000000D+00 CORRECT= 0.3438457000D+03 ... 27 FAIL COMPUTED= ( 34.84000, 0.00000) CORRECT= ( 34.84000, 349.88699) ... 43 PASS 1 TEST PASS/FAIL DISPLAYED RESULTS REMARKS ------------------------------------------------------------------------------- At line 727 of file /Users/dominiq/Documents/Fortran/NISTtest/NIST/FM908.f Fortran runtime error: Bad value on logical read