[Bug middle-end/44852] [4.6 Regression]: miscompilation of newlib dtoa.c after mem-ref2 merge

hp at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jul 7 16:25:00 GMT 2010



------- Comment #3 from hp at gcc dot gnu dot org  2010-07-07 16:24 -------
(In reply to comment #2)
> The addition by 10 appears during postreload, where we substitute
> ...
> which by itself doesn't look wrong.

That's right, if the two stores had been to different locations, it'd have been
optimal (the add by 10 being shorter than loading the constant 0x3a; no
scheduling issues).

But, JFTR, that observation is just incidental and beside the point.


-- 


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



More information about the Gcc-bugs mailing list