This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Ping Re: Add option for whether ceil etc. can raise "inexact", adjust x86 conditions
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Bernd Schmidt <bschmidt at redhat dot com>
- Cc: Jan Hubicka <hubicka at ucw dot cz>, Uros Bizjak <ubizjak at gmail dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 2 Jun 2016 12:29:26 +0000
- Subject: Re: Ping Re: Add option for whether ceil etc. can raise "inexact", adjust x86 conditions
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 2 dot 20 dot 1605252344370 dot 15050 at digraph dot polyomino dot org dot uk> <CAFULd4Y_p4S-2ZYxhndF9UbJgO2dH2r1w2Z3Ae4dLZpZ80YMLA at mail dot gmail dot com> <20160526175950 dot GA60285 at kam dot mff dot cuni dot cz> <alpine dot DEB dot 2 dot 20 dot 1605262100470 dot 6600 at digraph dot polyomino dot org dot uk> <alpine dot DEB dot 2 dot 20 dot 1606021153460 dot 29985 at digraph dot polyomino dot org dot uk> <20160602120001 dot GA70322 at kam dot mff dot cuni dot cz> <57502576 dot 9050109 at redhat dot com>
On Thu, 2 Jun 2016, Bernd Schmidt wrote:
> On 06/02/2016 02:00 PM, Jan Hubicka wrote:
> > > Ping. This patch
> > > <https://gcc.gnu.org/ml/gcc-patches/2016-05/msg02131.html> is pending
> > > review (for the non-x86-specific parts).
> > The inliner bits looks fine to me.
>
> In case that leaves anything unapproved, the remaining parts are OK too,
> modulo one question - shouldn't this option be added to the set enabled by
> -funsafe-math-optimizations? It looks like one pattern in i386.md used to be
> enabled by this option and now is no longer.
-funsafe-math-optimizations implies -fno-trapping-math which causes this
option to have no effect (the difference between -ffp-int-builtin-inexact
and -fno-fp-int-builtin-inexact is only meaningful if -ftrapping-math,
since it relates to the raising of exceptions). The patterns testing this
option all test (flag_fp_int_builtin_inexact || !flag_trapping_math).
--
Joseph S. Myers
joseph@codesourcery.com