This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Kill CONST_DOUBLE_CHAIN
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- To: Stan Shebs <shebs at apple dot com>
- Cc: Dale Johannesen <dalej at apple dot com>, Zack Weinberg <zack at codesourcery dot com>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 25 Apr 2002 21:04:19 +0200
- Subject: Re: Kill CONST_DOUBLE_CHAIN
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <02168F76-57C9-11D6-B0D6-003065C86F94@apple.com> <3CC7292C.C5148BA1@apple.com>
Stan Shebs wrote:
> Should be. I guess we could come up with a test case that writes
> to one reference to the constant and reads back the other reference
> to see that it changed too, hee hee...
You're thinking of this:
X = 4978.038
Y = 2374.937
CALL SUB(2.0)
Z = (X + Y) / 2.0
PRINT*,'THE AVERAGE OF ',X,' AND ',Y,' IS: ',Z
END
SUBROUTINE(A)
A = 1.0
END
?
[ It worked on our Cyber 175's - I swear :-) ]
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)