[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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




------- Comment #19 from kargl at gcc dot gnu dot org  2007-06-21 04:08 -------
(In reply to comment #18)
> 
> I had ONLY HOPEd VOLATILE statement in fortran 77 EXTENSION of gfortran.
> I thought that would be convenient
> on small modification of legacy fortran 77 program.

You've completed missed the point!  gfortran is a Fortran 95
compiler with some Fortran 2003 extensions.  A valid Fortran
77 code is a valid Fortran 95 code.

You can add VOLATILE statements to your old legacy code and
gfortran will compile it.


-- 

kargl at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|gtalbot at locuspharma dot  |
                   |com, rozenman at gmail dot  |
                   |com, debian-gcc at lists dot|
                   |debian dot org, cognot at   |
                   |earthdecision dot com, eda- |
                   |qa at disemia dot com,      |
                   |paul_blankenbaker at yahoo  |
                   |dot com, burnus at gcc dot  |
                   |gnu dot org, gbburkhardt at |
                   |verizon dot net, dyang at   |
                   |mathworks dot com, hjl at   |
                   |lucon dot org, whaley at cs |
                   |dot utsa dot edu            |
                 CC|u dot strempel at gmx dot   |
                   |de, neff dot kevin at mayo  |
                   |dot edu, sunjoong at gmail  |
                   |dot com, npr1 at suomi24 dot|
                   |fi, gsinai at yudit dot org,|
                   |sk2alexa at math dot        |
                   |uwaterloo dot ca, wirawan0  |
                   |at softhome dot net, P dot  |
                   |Schaffnit at access dot     |
                   |rwth-aachen dot de, piaget  |
                   |at us dot ibm dot com, adam |
                   |at irvine dot com,          |
                   |brad_atcheson at yahoo dot  |
                   |ca                          |
                 CC|have at ann dot jussieu dot |
                   |fr, preciseflight at yahoo  |
                   |dot com dot au, birger dot b|
                   |at gmx dot net, pr2345 at   |
                   |gmail dot com, green at     |
                   |rhythm dot com, gcczilla at |
                   |achurch dot org, dsell at   |
                   |agleader dot com, csk at cgl|
                   |dot uwaterloo dot ca, egon  |
                   |at heaven dot industries dot|
                   |cz, anz at obs-nice dot fr, |
                   |brooks at gcc dot gnu dot   |
                   |org, xiaoyi_wu at yahoo dot |
                   |com                         |
                 CC|konstantin at mysql dot com,|
                   |olcios at yahoo dot com,    |
                   |jmurray at dsrnet dot com,  |
                   |lani at oas dot ca, Graham  |
                   |dot Murphy at jhuapl dot    |
                   |edu, petr dot savicky at    |
                   |cuni dot cz, terry at chem  |
                   |dot gu dot se, benoit dot   |
                   |sibaud at rd dot            |
                   |francetelecom dot com,      |
                   |166255 at bugs dot debian   |
                   |dot org, bernert at planet  |
                   |dot de, themis_hv at yahoo  |
                   |dot co dot uk               |
                 CC|deshpand at cs dot umn dot  |
                   |edu, 36876 at bugs dot      |
                   |debian dot org, gcc-erikd at|
                   |mega-nerd dot com, denis dot|
                   |nagorny at intel dot com    |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32391

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
You are on the CC list for the bug, or are watching someone who is.



Reply to: