[Bug c/92164] Wrong result using builtin rint/rintf optimization in x86_64

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

[Bug c/92164] Wrong result using builtin rint/rintf optimization in x86_64

2020-01-29 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92164 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/92164] Wrong result using builtin rint/rintf optimization in x86_64

2019-10-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92164 --- Comment #6 from Richard Biener --- See PR34678 for issues of -frounding-math.

[Bug c/92164] Wrong result using builtin rint/rintf optimization in x86_64

2019-10-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92164 --- Comment #5 from Richard Biener --- Note that if GCC would be standards-conforming here your program would still need #pragma STDC FENV_ACCESS ON since you are accessing and modifying the floating-point state (where the pragma has no effect

[Bug c/92164] Wrong result using builtin rint/rintf optimization in x86_64

2019-10-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92164 --- Comment #4 from Richard Biener --- (In reply to Steffen Schmidt from comment #3) > Thanks for the quick reply. > > Just tested using -frounding-math and it seems to fix the issue. > Sorry, I was not aware of this option, according to GCCs m

[Bug c/92164] Wrong result using builtin rint/rintf optimization in x86_64

2019-10-21 Thread steffen-schmidt at siemens dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92164 --- Comment #3 from Steffen Schmidt --- Thanks for the quick reply. Just tested using -frounding-math and it seems to fix the issue. Sorry, I was not aware of this option, according to GCCs manual it is experimental. Please correct me if I'm w

[Bug c/92164] Wrong result using builtin rint/rintf optimization in x86_64

2019-10-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92164 --- Comment #2 from Richard Biener --- Did you compile with -frounding-math?

[Bug c/92164] Wrong result using builtin rint/rintf optimization in x86_64

2019-10-21 Thread steffen-schmidt at siemens dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92164 --- Comment #1 from Steffen Schmidt --- Created attachment 47072 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47072&action=edit Test result output text.