From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28357 invoked by alias); 24 Feb 2011 14:01:40 -0000 Received: (qmail 28345 invoked by uid 22791); 24 Feb 2011 14:01:40 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 24 Feb 2011 14:01:35 +0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/47878] [4.6 Regression] 187.facerec miscompares X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.6.0 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Thu, 24 Feb 2011 14:16:00 -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 X-SW-Source: 2011-02/txt/msg02765.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47878 --- Comment #7 from Richard Guenther 2011-02-24 14:01:27 UTC --- The error is Performing comparison with probe entries 1 ar2: global move determines position 58 45, similarity = 0.79937 1 ar2: best match ar1 sim. = 0.85622 At line 61 of file imageRoutines.f90 (unit = 21, file = 'ar3.asc') Fortran runtime error: Bad value during integer read This line is the last in Open (Unit = imageLUN, File = PathName//FileName, Action = 'READ', & & Recl = 130, Form = 'FORMATTED', Access = 'SEQUENTIAL', Status = 'OLD') ! ! If UpSample == 1, read image directly. ! If (ImagePars%UpSample == 1) Then Read (Unit = imageLUN, FMT = '(64(Z2.2))') Image The file opened starts with 3F4344484E5A63728592A0AEBAC6BEC1C4C5C6C6C7C6C8C7C8C5C6C8C8C9C6C7C8C9C9C9CBCECBCCCED1D2D1D1D1D0CECDCACCCCCACCCBCCCED0D5CCCFCFD0CE CECDD1CDD0D1D2D2D1D0CFCCCACECDCFD0D0D4D4D4D0CFD5D0D1CFCFD0CDCCCECFD0D3D0D2D7D5D7D9D5DBD8D6D5D5D5D4D5D6D5D9D8D7D7D7D6D6D6D6D6D8D7 and continues with 1022 other lines of the same length.