[Bug tree-optimization/87303] DFmode FP constants are not correctly truncated when promoted to XFmode

2018-09-14 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87303 Uroš Bizjak changed: What|Removed |Added Target||x86 --- Comment #1 from Uroš Bizjak --- A

[Bug tree-optimization/87303] DFmode FP constants are not correctly truncated when promoted to XFmode

2018-09-14 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87303 --- Comment #2 from joseph at codesourcery dot com --- I don't see a bug here. Excess precision semantics mean that the comparison is effectively with 0.1e-100L (whereas the array initializer is (double) 0.1e-100L). If you use "!= (double) 0.