[Bug tree-optimization/84407] incorrect constant propagation with -frounding-math

2021-10-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84407 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/84407] incorrect constant propagation with -frounding-math

2021-10-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84407 --- Comment #6 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:81342e95827f77c0917dd7a9fd54ac9729439c8e commit r12-4767-g81342e95827f77c0917dd7a9fd54ac9729439c8e Author: Richard Biener Date:

[Bug tree-optimization/84407] incorrect constant propagation with -frounding-math

2021-10-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84407 Bug 84407 depends on bug 57245, which changed state. Bug 57245 Summary: Floating-point constant truncation ignores -frounding-math https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57245 What|Removed |Added -

[Bug tree-optimization/84407] incorrect constant propagation with -frounding-math

2021-10-27 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84407 --- Comment #5 from joseph at codesourcery dot com --- On Wed, 27 Oct 2021, rguenth at gcc dot gnu.org via Gcc-bugs wrote: > Also a question is the behavior on overflow when converting a real to an > integer (IIRC the behavior here is undefined,

[Bug tree-optimization/84407] incorrect constant propagation with -frounding-math

2021-10-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84407 --- Comment #4 from Richard Biener --- Created attachment 51676 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51676&action=edit patch Testing for exact real-to-int / int-to-real conversions is a bit awkward but maybe I am missing interest

[Bug tree-optimization/84407] incorrect constant propagation with -frounding-math

2021-10-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84407 Richard Biener changed: What|Removed |Added Last reconfirmed|2018-02-15 00:00:00 |2021-10-27 --- Comment #3 from Richard

[Bug tree-optimization/84407] incorrect constant propagation with -frounding-math

2018-02-15 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84407 --- Comment #2 from joseph at codesourcery dot com --- Cf. bug 57245 (a similar bug for truncation from wider floating-point types).

[Bug tree-optimization/84407] incorrect constant propagation with -frounding-math

2018-02-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84407 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|