This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: question about -ffast-math implementation
- From: Ian Lance Taylor <iant at google dot com>
- To: mike dot izbicki at gmail dot com
- Cc: Janne Blomqvist <blomqvist dot janne at gmail dot com>, gcc mailing list <gcc at gcc dot gnu dot org>
- Date: Mon, 2 Jun 2014 11:20:00 -0700
- Subject: Re: question about -ffast-math implementation
- Authentication-results: sourceware.org; auth=none
- References: <CAKKZoUUtBdU_ZR61hsztymquqDrRkqEUoxeiEE0kzmrpUq+Emg at mail dot gmail dot com> <CAO9iq9ENWmnEwf1HbcK4c3y8VYZP7w0W_0vL5ypDECTP5e4a=g at mail dot gmail dot com> <CAKKZoUWjTR5AQ+t7OyY7DQTjH8uxtxO4rPMhAVwuBY97Vca=qg at mail dot gmail dot com>
On Mon, Jun 2, 2014 at 12:18 AM, Mike Izbicki <mike.izbicki@gmail.com> wrote:
>> Though for the gory details and authoritative answers I suppose you'd
> have to look into the source code.
>
> Where would I find the code for this?
This is the GCC source code. There isn't one file that implements
-ffast-math. -ffast-math expands to a set of other options, and then
various bits and pieces of code tests whether those options are
enabled.
Ian