Kill CONST_DOUBLE_CHAIN

Toon Moene toon@moene.indiv.nluug.nl
Thu Apr 25 12:51:00 GMT 2002


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)



More information about the Gcc-patches mailing list