public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: FX <fxcoudert@gmail.com>
To: gfortran <fortran@gcc.gnu.org>,
	gcc-patches <gcc-patches@gcc.gnu.org>,
	joost.vandevondele@mat.ethz.ch,
	Dominique Dhumieres <dominiq@lps.ens.fr>
Subject: Re: [PATCH, Fortan] fix initialization of flag_errno_math and flag_associative_math
Date: Mon, 02 Jun 2014 20:15:00 -0000	[thread overview]
Message-ID: <E8E71366-3768-4FB3-93EC-53F3D4B7E651@gmail.com> (raw)

> Why do you want -fno-math-errno to be the default for gfortran?
> AFAICT such default is not documented and the flag works
> (checked on your test gfortran.dg/errnocheck_1.f90).

It should be the default, and it used to be. Fortran doesn’t care about math routines setting errno (its existence is specified in C & C++ standards, but not in the Fortran standard). If I understand correctly, Joost’s patch just adapts this to a new flag handling mechanism.

FX

             reply	other threads:[~2014-06-02 20:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-02 20:15 FX [this message]
2014-06-05 12:54 ` VandeVondele  Joost
2014-06-05 13:07   ` Janne Blomqvist
2014-06-05 14:37     ` Dominique Dhumieres
2014-07-30 14:04       ` VandeVondele  Joost
  -- strict thread matches above, loose matches on Subject: below --
2014-05-31 11:01 Dominique Dhumieres
2014-06-02  6:08 ` VandeVondele  Joost
2014-05-30 19:22 VandeVondele  Joost
2014-08-18 15:48 ` VandeVondele  Joost
2014-08-19 10:04   ` Janne Blomqvist
2014-08-19 10:07     ` VandeVondele  Joost
2014-08-19 10:28       ` Janne Blomqvist
2014-08-20  7:10         ` VandeVondele  Joost

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E8E71366-3768-4FB3-93EC-53F3D4B7E651@gmail.com \
    --to=fxcoudert@gmail.com \
    --cc=dominiq@lps.ens.fr \
    --cc=fortran@gcc.gnu.org \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=joost.vandevondele@mat.ethz.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).