From: Craig Burley <burley@gnu.org>
Subject: Re: egcs is very strict
Date: Sun, 11 Jan 1998 14:45:09 -0500 (EST) [thread overview]
Message-ID: <52a48f6aec1887f3a180f668b13f28ea.axp-list@archive.invalid> (raw)
> Egcsg77 looks to me very strict:
>I had already compiled these routines with gnu g77 and
>a fortran77 on a solaris, and did not get any compilation error.
> Now one of these routines uses a work space
>that is an array of float and pass it to another routines that needs
>a work space of integers.
> Egcs detects that the two types are differents and gives error.
>Of course that may save one from bugs now and then , but in this
>practical case that`s just some memory space, so the type
>does not matter.
> May be I am missing some feature, I don`t know
>if typecasting exists in fortran, or may be I could
>change the behaviour with some switch.
The reason egcs appears stricter to you is *probably* because
it is based on g77 0.5.21, and you're not used to using that
particular version of g77. (Most of the global, or filewide,
analysis facility was added in 0.5.21 -- including the kind
of bad-code detection you're talking about.)
Could you report what terms you looked for in the index of the
g77 documentation, so we can add more entries to help people
find out about options like -fno-globals?
Also, could you show the diagnostic(s) you got, so we can
tell which ones need pointers to the relevant portions of the
document added? (E.g. newer g77 diagnostics contain text
such as "[info -f g77 M GLOBALS]", which shows the exact command
to type to find more info on the diagnostic.)
--
"Practice random senselessness and act kind of beautiful."
James Craig Burley, Software Craftsperson burley@gnu.org
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next reply other threads:[~1998-01-11 19:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-01-11 19:45 Craig Burley [this message]
[not found] <199801120026.TAA03036@melange.gnu.org>
1998-01-12 0:43 ` egcs is very strict Alessandro Mirone
-- strict thread matches above, loose matches on Subject: below --
1998-01-12 0:26 Craig Burley
1998-01-11 23:08 Robert Williams
[not found] <199801111945.OAA02466@melange.gnu.org>
1998-01-11 21:19 ` Alessandro Mirone
[not found] <Pine.SOL.3.91.980111192423.12851A-100000@greco2>
1998-01-11 20:38 ` David van der Spoel
[not found] <10fa9d83.34b92614@aol.com>
1998-01-11 20:35 ` Paul D. Robertson
1998-01-11 20:05 N8YDAWG
1998-01-11 18:33 Alessandro Mirone
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox