From: "Roger K. Wells" <ROGER.K.WELLS@saic.com>
To: gcc-help@gcc.gnu.org
Subject: gcc 2.95.2 fortran problem
Date: Wed, 19 Jun 2002 09:56:00 -0000 [thread overview]
Message-ID: <5.1.0.14.0.20020619123935.01e18de0@saic1.mtg.saic.com> (raw)
Hello,
I am using gcc 2.95.2 on win 2000 and os2 warp.
running g77 -v on each platform produces identical output:
g77 version 2.95.2 19991024 (release) (from FSF-g77 version 0.5.25 19991024
(release))
Driving: g77 -v -c -xf77-version /dev/null -xnone
g77: /dev/null: No such file or directory
Reading specs from
d:\gcc-2.95.2\bin\..\lib\gcc-lib\i386-mingw32msvc\2.95.2\specs
gcc version 2.95.2 19991024 (release)
except for the exact location of the specs file
with the following program:
program junk
real x, y
x = 15.0
y = sqrt(x)
stop
end
running g77 -v -c junk.for:
win 2000:
g77 version 2.95.2 19991024 (release) (from FSF-g77 version 0.5.25 19991024
(release))
Reading specs from
d:\gcc-2.95.2\bin\..\lib\gcc-lib\i386-mingw32msvc\2.95.2\specs
gcc version 2.95.2 19991024 (release)
d:\gcc-2.95.2\bin\..\lib\gcc-lib\i386-mingw32msvc\2.95.2\f771.exe
junk.for -quiet -dumpbase junk.f -version -fversion -o d:\temp\ccYzaaaa.s
GNU F77 version 2.95.2 19991024 (release) (i386-mingw32msvc) compiled by
GNU C version 2.95.2 19991024 (release).
GNU Fortran Front End version 0.5.25 19991024 (release)
as -o junk.o d:\temp\ccYzaaaa.s
in other words success
on OS2 every thing is the equivalent up to the invocation of as where the
following appears:
junk.for: In program `junk':
junk.for:5:
y = sqrt (x)
1 2
Type disagreement between expressions at (1) and (2)
This seems to occur with any intrinsic function (sin, cos, etc)
An earlier version, 2.91.60, on os2 works correctly. Apparently the
sources for g77 & f771 are the same so why does f771 on os choke. It
hasn't even gotten to the platform specific use of as.
thanks
mystified
Roger Wells, P.E.
SAIC
221 Third St
Newport, RI 02840
401-847-4210 (voice)
401-849-1585 (fax)
roger@mtg.saic.com
reply other threads:[~2002-06-19 16:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5.1.0.14.0.20020619123935.01e18de0@saic1.mtg.saic.com \
--to=roger.k.wells@saic.com \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).