[Bug middle-end/81120] __builtin_nansl ("") generates quiet NaN

2017-06-20 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81120 John David Anglin changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/81120] __builtin_nansl ("") generates quiet NaN

2017-06-19 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81120 --- Comment #5 from joseph at codesourcery dot com --- On Mon, 19 Jun 2017, dave.anglin at bell dot net wrote: > Is there a gcc option to select between convertFormat and copy? Loads do There is no such option.

[Bug middle-end/81120] __builtin_nansl ("") generates quiet NaN

2017-06-19 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81120 --- Comment #4 from dave.anglin at bell dot net --- On 2017-06-19 1:32 PM, joseph at codesourcery dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81120 > > --- Comment #3 from joseph at codesourcery dot com dot com> --- > Of

[Bug middle-end/81120] __builtin_nansl ("") generates quiet NaN

2017-06-19 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81120 --- Comment #3 from joseph at codesourcery dot com --- Of course, such a test is fairly meaningless without -fsignaling-nans. Then, where long double and double have the same format, "Whether C assignment (6.5.16) (and conversion as if by

[Bug middle-end/81120] __builtin_nansl ("") generates quiet NaN

2017-06-17 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81120 --- Comment #2 from John David Anglin --- If the original testcase is compiled with -fsignaling-nans, the signaling nan is not converted to a quiet nan. Thus, I believe the conversion is expected. There might be an issue with the second

[Bug middle-end/81120] __builtin_nansl ("") generates quiet NaN

2017-06-17 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81120 --- Comment #1 from John David Anglin --- This seems quite tricky. Conversion changes a signaling nan to a quiet nan: /* Make resulting NaN value to be qNaN. The caller has the responsibility to avoid the operation if