From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 587 invoked by alias); 16 Mar 2004 23:10:32 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 464 invoked from network); 16 Mar 2004 23:10:29 -0000 Received: from unknown (HELO lon-mail-4.gradwell.net) (193.111.201.130) by sources.redhat.com with SMTP; 16 Mar 2004 23:10:29 -0000 Received: (qmail 79080 invoked from network); 16 Mar 2004 23:10:28 -0000 Received: from digraph.polyomino.org.uk (postmaster%pop3.polyomino.org.uk@81.187.227.50) by lon-mail-4.gradwell.net with SMTP; 16 Mar 2004 23:10:28 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.30) id 1B3Nhb-0000v2-Ri; Tue, 16 Mar 2004 23:10:27 +0000 Date: Tue, 16 Mar 2004 23:10:00 -0000 From: "Joseph S. Myers" X-X-Sender: jsm28@digraph.polyomino.org.uk To: Toon Moene cc: Richard Henderson , Robert Dewar , alexr@spies.com, gcc@gcc.gnu.org Subject: Re: [lno] [RFC] if-conversion and auto vectorizer In-Reply-To: <405785FF.8040009@moene.indiv.nluug.nl> Message-ID: References: <20040316122702.393DEF2DC2@nile.gnat.com> <20040316183250.GA12315@redhat.com> <405785FF.8040009@moene.indiv.nluug.nl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2004-03/txt/msg00886.txt.bz2 On Tue, 16 Mar 2004, Toon Moene wrote: > Can I have an option (to be set by default to "yes" by the various > Fortran front ends) that says: > > No valid (Fortran) program can cause the generation of floating point > exceptions or memory access violations ? We have -fno-math-errno, -funsafe-math-optimizations, -ffinite-math-only, -fno-trapping-math, -frounding-math, -fsignaling-nans (the defaults in all cases being the opposites of these options). I see no reason why Fortran shouldn't change the defaults of some of these flags to values more appropriate for Fortran (documenting this appropriately). -- Joseph S. Myers jsm@polyomino.org.uk