See the FAQ at http://gcc.gnu.org , in the section on bugs and non-bugs, for info on floating point behavior.