[Bug middle-end/64182] [5 Regression] wide-int rounding division is broken

rsandifo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Dec 10 16:42:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64182

--- Comment #6 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #5)
> Makes sense.  Will you also fix double-int.c when you are on this?

OK, I'll take the same approach there.  I don't know how to test that
code "properly", so in the end I just did some double_int arithmetic
at the start of main().  Like you say it wasn't rounding correctly
in the unsigned case.



More information about the Gcc-bugs mailing list