This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Weird constant folding of __builtin_remainder() with -frounding-math
- From: FX <fxcoudert at gmail dot com>
- To: GCC Development <gcc at gcc dot gnu dot org>
- Date: Wed, 20 Nov 2013 16:48:29 +0100
- Subject: Re: Weird constant folding of __builtin_remainder() with -frounding-math
- Authentication-results: sourceware.org; auth=none
- References: <B599187D-FA4E-4FC4-BE3F-9A92AD5326DC at gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1311201639590 dot 4576 at stedding dot saclay dot inria dot fr>
> Did you really test on x86_64-linux? I am only seeing this -2.71e-20 when using -mfpmath=387.
Duh, you’re right: I tested on a x86_64-linux, but whose system compiler (4.7.2) actually defaults to 32-bit.
FX