[tree-ssa] tree-ssa vs. fold

Toon Moene toon@moene.indiv.nluug.nl
Sun Jun 8 13:47:00 GMT 2003


Richard Henderson wrote:

> On Sat, Jun 07, 2003 at 09:00:02PM -0400, Richard Kenner wrote:
> 
>>I don't think that's right.  You could have an object whose size depends on
>>a non-volatile variable and then modify the variable before one use of
>>the size.  The SAVE_EXPR forces proper evaluation in that case.
> 
> Hum, perhaps.  However, it does seem like we ought be
> be able to do *something* in the extremely common case of
> a plain "int" variable.

Well, this would have been caught by 
testsuite/g77.f-torture/execute/auto0.f anyway, so you wouldn't have 
gotten away with it :-)

-- 
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
GNU Fortran 95: http://gcc-g95.sourceforge.net/ (under construction)



More information about the Gcc mailing list