[Bug c/89573] -fexcess-precision=standard doesn't work for conversion to integer of multiplication

2019-03-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89573 --- Comment #8 from Richard Biener --- https://sourceware.org/bugzilla/show_bug.cgi?id=24346

[Bug c/89573] -fexcess-precision=standard doesn't work for conversion to integer of multiplication

2019-03-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89573 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/89573] -fexcess-precision=standard doesn't work for conversion to integer of multiplication

2019-03-14 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89573 --- Comment #6 from joseph at codesourcery dot com --- On Thu, 14 Mar 2019, rguenther at suse dot de wrote: > I see. This means the different cases in the testcase in question are > not equivalent (when excess precision is involved) and thus

[Bug c/89573] -fexcess-precision=standard doesn't work for conversion to integer of multiplication

2019-03-14 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89573 --- Comment #5 from rguenther at suse dot de --- On Wed, 13 Mar 2019, joseph at codesourcery dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89573 > > --- Comment #4 from joseph at codesourcery dot com dot com> --- > On Mon, 11

[Bug c/89573] -fexcess-precision=standard doesn't work for conversion to integer of multiplication

2019-03-13 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89573 --- Comment #4 from joseph at codesourcery dot com --- On Mon, 11 Mar 2019, rguenth at gcc dot gnu.org wrote: > > I wouldn't expect such a cast to be generated on the result of the > > multiplication; I'd expect long double to be converted

[Bug c/89573] -fexcess-precision=standard doesn't work for conversion to integer of multiplication

2019-03-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89573 --- Comment #3 from Richard Biener --- (In reply to jos...@codesourcery.com from comment #2) > On Mon, 4 Mar 2019, rguenth at gcc dot gnu.org wrote: > > > where the first result is off. The IL looks like > > > > int r = (int) ((long

[Bug c/89573] -fexcess-precision=standard doesn't work for conversion to integer of multiplication

2019-03-11 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89573 --- Comment #2 from joseph at codesourcery dot com --- On Mon, 4 Mar 2019, rguenth at gcc dot gnu.org wrote: > where the first result is off. The IL looks like > > int r = (int) ((long double) log (p) * (long double) inv_log_of_base); >

[Bug c/89573] -fexcess-precision=standard doesn't work for conversion to integer of multiplication

2019-03-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89573 Richard Biener changed: What|Removed |Added CC||jsm28 at gcc dot gnu.org --- Comment