Description of problem: If <math.h> is included in a C++ file, with the flags -pedantic and -ffast-math, the compilation fails with a lot of errors about different exception specifiers in mathcalls.h and math-finite.h Version-Release number of selected component (if applicable): glibc.x86_64 2.14.90-24.fc16.4 How reproducible: Steps to Reproduce: 1. Execute the command echo '#include <math.h>' | g++ -pedantic -ffast-math -O2 -xc++ - -S -o /dev/null prints Actual results: Lots of errors about different exception specifiers. Expected results: No errors. Additional info: This is the upstream bug page: http://sourceware.org/bugzilla/show_bug.cgi?id=13484
As far as I can see, the glibc commit that fixed this can be found at http://sourceware.org/git/?p=glibc.git;a=commit;h=8ef4f244ff7116fa1b5d88e69c83bb1bcc85afc6
This is fixed in rawhide & f17. I'm not planning to backport this change to f15/f16.