The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.lang.fortran
From: Tim Prince <tpri...@nospamcomputer.org>
Date: Thu, 18 Dec 2008 23:18:28 -0800
Local: Fri, Dec 19 2008 2:18 am
Subject: Re: It is a bug of lapack 3.2 or of gfortran ?
hes selex wrote: 47: IF( M.EQ.0 .OR. A(M, 1).NE.ZERO .OR. A(M, N).NE.ZERO ) THEN > my make.inc : > FORTRAN = gfortran > when make lapack_testing (after make blaslib ,make lib), 48: ILASLR = M 49: ELSE must be changed to something like 47: IF( M == 0 ) THEN 48: ILASLR = M 48a: ELSEIF( A(M, 1) /= ZERO .OR. A(M, N) /= ZERO ) THEN 48b: ILASLR = M 49: ELSE in order to comply with standard. If this were translated by f2c, it would be correct C, but Fortran doesn't have a shortcut rule like C for compound logical expressions. It is entirely legitimate for a compiler to evaluate each part of the logical expression simultaneously, so as to speed it up, producing the reported violation. You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||