Bug#515949: Simple test case for gcc -ffast-math bug

2009-03-19 Thread Erik de Castro Lopo
The following test case shows the failure when compiling with -ffast-math gives a different result than when compiling with out it. More explanation in the comments at the top of the file. Cheers, Erik /* ** This file is in the Public Domain. ** ** This program demonstrates a bug in

Bug#515949: Simple test case for gcc -ffast-math bug

2009-03-19 Thread Kurt Roeckx
On Thu, Mar 19, 2009 at 05:22:11PM +1100, Erik de Castro Lopo wrote: The following test case shows the failure when compiling with -ffast-math gives a different result than when compiling with out it. More explanation in the comments at the top of the file. Cheers, Erik /* **

Bug#515949: Simple test case for gcc -ffast-math bug

2009-03-19 Thread Kurt Roeckx
On Thu, Mar 19, 2009 at 06:53:45PM +0100, Kurt Roeckx wrote: I will clone this bug to gcc and file a bug upstream. It seems Martin Guy already reported it upstream: http://gcc.gnu.org/PR39501 http://gcc.gnu.org/PR39507 Kurt -- To UNSUBSCRIBE, email to