Re: Optimization Bug in g77

2004-10-26 Thread Steven E. Williamson
wrote: > > On Oct 26, 2004, at 3:01 PM, Steven E. Williamson wrote: > > > Two other symptoms that I have noticed: if the -ffloat-store option is > > used, then the program always works correctly (does only 2 iterations). > > And, if the write statement immediately p

Optimization Bug in g77

2004-10-26 Thread Steven E. Williamson
I have run into a strange problem with g77 when run with the -O or -O1 option but NOT with -O2, -O3, or no optimization. Below is piece of Fortran code (removed from a larger program) which illustrates the problem. The basic function of the code is to go through a list of data (the RAW array) and

Optimization Bug in g77

2004-10-23 Thread Steven E. Williamson
I have run into a strange problem with g77 when run with the -O or -O1 option but NOT with -O2, -O3, or no optimization. Below is piece of Fortran code (removed from a larger program) which illustrates the problem. The basic function of the code is to go through a list of data (the RAW array) and