From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3802 invoked by alias); 21 Jun 2007 04:08:59 -0000 Received: (qmail 3700 invoked by uid 48); 21 Jun 2007 04:08:42 -0000 Date: Thu, 21 Jun 2007 04:08:00 -0000 Message-ID: <20070621040842.3699.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/32391] Wrong code with optimization on i686-pc-linux-gnu In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "kargl at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-06/txt/msg01844.txt.bz2 ------- 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