[Bug fortran/32391] Wrong code with optimization on i686-pc-linux-gnu

2007-06-20 Thread sunjoong at gmail dot com
--- Comment #18 from sunjoong at gmail dot com 2007-06-21 03:27 --- I appreciate kargl's comments; they were helpful. I had known there is VOLATILE attribute in new Fortran standard but I had worked with "LEGACY" fortran77 program! I'll write C code if I shuld wri

[Bug fortran/32391] Wrong code with optimization on i686-pc-linux-gnu

2007-06-20 Thread sunjoong at gmail dot com
--- Comment #16 from sunjoong at gmail dot com 2007-06-20 23:34 --- Thank all of you. I could understand what make it different. There is no 'volatile' statement in fortran77 syntax of gfortran. Of course, volatile is not fortran77 standard, I think, but a certian impl