[Bug middle-end/21032] GCC 3.4.3 wrongly reorders floating-point operations

vincent at vinc17 dot org gcc-bugzilla@gcc.gnu.org
Wed Jun 15 17:08:00 GMT 2005


------- Additional Comments From vincent at vinc17 dot org  2005-06-15 17:08 -------
Oops, forget my comment. There is a bug, but 5.1.2.3#13 / 6.3.1.5#2 / 6.3.1.8#2
is not related to it if gcc does reduce the precision (due to the "volatile",
that in fact prevents bug 323 from occurring here, right?).

Well, if gcc assumes more or less that all the types have the same range and
precision when doing optimization, then this could indeed be seen as bug 323. It
would be interesting to know how gcc deduced (wrongly) that it could do the
change concerning the neg.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21032



More information about the Gcc-bugs mailing list