------- Comment #11 from dalej at gcc dot gnu dot org 2005-10-10 15:47 ------- Yes, I think it's true that (float)floor((double)f) == floorf(f). We could make that routine look for that case, although it wasn't before, and I think your test was passing by accident (i.e. the invalid tranformation that it actually was doing, happened to work.) I should be able to look at it later this week, have a firedrill at the moment. (On darwin convert_to_real does not get called with anything that looks like that, and all the builtin-convert tests pass. I'm not sure why Sparc is different.)
-- dalej at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |dalej at gcc dot gnu dot org |dot org | Status|NEW |ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24263