[Bug libquadmath/65757] gfortran gives incorrect result for anint with real*16 argument

2019-03-01 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65757 Joseph S. Myers changed: What|Removed |Added CC||andres_takach at mentor dot com ---

[Bug libquadmath/65757] gfortran gives incorrect result for anint with real*16 argument

2017-09-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65757 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libquadmath/65757] gfortran gives incorrect result for anint with real*16 argument

2017-09-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65757 --- Comment #23 from Jakub Jelinek --- Author: jakub Date: Sat Sep 16 18:33:53 2017 New Revision: 252880 URL: https://gcc.gnu.org/viewcvs?rev=252880=gcc=rev Log: PR libquadmath/65757 * math/roundq.c: Cherry-pick upstream glibc

[Bug libquadmath/65757] gfortran gives incorrect result for anint with real*16 argument

2017-09-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65757 --- Comment #22 from Jakub Jelinek --- Author: jakub Date: Fri Sep 15 21:30:40 2017 New Revision: 252853 URL: https://gcc.gnu.org/viewcvs?rev=252853=gcc=rev Log: PR libquadmath/65757 * math/roundq.c: Cherry-pick upstream glibc

[Bug libquadmath/65757] gfortran gives incorrect result for anint with real*16 argument

2017-07-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65757 --- Comment #21 from Jakub Jelinek --- Author: jakub Date: Thu Jul 20 08:29:45 2017 New Revision: 250379 URL: https://gcc.gnu.org/viewcvs?rev=250379=gcc=rev Log: PR libquadmath/65757 * math/roundq.c: Cherry-pick upstream glibc

[Bug libquadmath/65757] gfortran gives incorrect result for anint with real*16 argument

2017-07-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65757 --- Comment #20 from Jakub Jelinek --- Author: jakub Date: Wed Jul 19 13:12:58 2017 New Revision: 250343 URL: https://gcc.gnu.org/viewcvs?rev=250343=gcc=rev Log: PR libquadmath/65757 * quadmath-imp.h (math_opt_barrier,

[Bug libquadmath/65757] gfortran gives incorrect result for anint with real*16 argument

2017-07-13 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65757 --- Comment #19 from Jerry DeLisle --- (In reply to Jakub Jelinek from comment #18) > Created attachment 41744 [details] > gcc8-pr65757.patch > > Here is a full version, it compiles, no further testing so far. > I guess I can bootstrap/regtest

[Bug libquadmath/65757] gfortran gives incorrect result for anint with real*16 argument

2017-07-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65757 Jakub Jelinek changed: What|Removed |Added Attachment #41740|0 |1 is obsolete|

[Bug libquadmath/65757] gfortran gives incorrect result for anint with real*16 argument

2017-07-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65757 --- Comment #17 from Jakub Jelinek --- Created attachment 41740 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41740=edit gcc8-pr65757.patch WIP patch. There are still many files to do (and this is only before the long double ->

[Bug libquadmath/65757] gfortran gives incorrect result for anint with real*16 argument

2017-07-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65757 --- Comment #16 from Jakub Jelinek --- I have actually started manual backporting of the 2012-2017 sysdeps/ieee754/ldbl-128/ differences, I'll attach what I have so far.

[Bug libquadmath/65757] gfortran gives incorrect result for anint with real*16 argument

2017-07-12 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65757 Jerry DeLisle changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug libquadmath/65757] gfortran gives incorrect result for anint with real*16 argument

2017-07-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65757 Jakub Jelinek changed: What|Removed |Added CC||fjwyhzb at hotmail dot com --- Comment

[Bug libquadmath/65757] gfortran gives incorrect result for anint with real*16 argument

2016-03-20 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65757 kargl at gcc dot gnu.org changed: What|Removed |Added CC||francois.willot at ensmp dot

[Bug libquadmath/65757] gfortran gives incorrect result for anint with real*16 argument

2016-03-19 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65757 kargl at gcc dot gnu.org changed: What|Removed |Added CC||marcus.appleby at gmail dot

[Bug libquadmath/65757] gfortran gives incorrect result for anint with real*16 argument

2015-04-28 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65757 --- Comment #10 from Steve Kargl sgk at troutmask dot apl.washington.edu --- On Tue, Apr 28, 2015 at 05:32:11PM +, joseph at codesourcery dot com wrote: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65757 --- Comment #9 from joseph at

[Bug libquadmath/65757] gfortran gives incorrect result for anint with real*16 argument

2015-04-28 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65757 --- Comment #11 from joseph at codesourcery dot com joseph at codesourcery dot com --- I don't know what process Jakub and Tobias used (a) to identify relevant files / changes in glibc and (b) to make all the changes to operate on __float128

[Bug libquadmath/65757] gfortran gives incorrect result for anint with real*16 argument

2015-04-28 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65757 --- Comment #9 from joseph at codesourcery dot com joseph at codesourcery dot com --- Fixed in glibc (commit 7d0b2575416aec2717e8665287d0ab77826a0ade). I'd advise merging to trunk GCC libquadmath all relevant glibc changes since the last

[Bug libquadmath/65757] gfortran gives incorrect result for anint with real*16 argument

2015-04-23 Thread bugs at dhbailey dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65757 --- Comment #8 from dhbbugs bugs at dhbailey dot com --- Jerry DeLisl'e output is certainly not correct -- anint should invariably return the nearest whole number. It should be the equivalent of this code: if (x = 0.0) then anint = aint (x +

[Bug libquadmath/65757] gfortran gives incorrect result for anint with real*16 argument

2015-04-23 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65757 Dominique d'Humieres dominiq at lps dot ens.fr changed: What|Removed |Added CC||burnus

[Bug libquadmath/65757] gfortran gives incorrect result for anint with real*16 argument

2015-04-22 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65757 --- Comment #6 from Jerry DeLisle jvdelisle at gcc dot gnu.org --- I am thinking its not working, but maybe I do not understand the function. I created a loop like this (with the patch): q1 = 233181505644407.q0 q2 = anint

[Bug libquadmath/65757] gfortran gives incorrect result for anint with real*16 argument

2015-04-22 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65757 --- Comment #5 from Steve Kargl sgk at troutmask dot apl.washington.edu --- On Wed, Apr 22, 2015 at 11:19:13PM +, bugs at dhbailey dot com wrote: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65757 --- Comment #3 from dhbbugs bugs at

[Bug libquadmath/65757] gfortran gives incorrect result for anint with real*16 argument

2015-04-22 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65757 Jerry DeLisle jvdelisle at gcc dot gnu.org changed: What|Removed |Added CC||jvdelisle at

[Bug libquadmath/65757] gfortran gives incorrect result for anint with real*16 argument

2015-04-22 Thread bugs at dhbailey dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65757 --- Comment #3 from dhbbugs bugs at dhbailey dot com --- Has anyone else been able to confirm that Steve Kargl's fix will work? What has to happen to move this fix into the production code?

[Bug libquadmath/65757] gfortran gives incorrect result for anint with real*16 argument

2015-04-14 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65757 --- Comment #2 from Steve Kargl sgk at troutmask dot apl.washington.edu --- On Tue, Apr 14, 2015 at 01:38:00AM +, kargl at gcc dot gnu.org wrote: Using -fdump-tree-original (and removing the IO code), one gets anintbug () {

[Bug libquadmath/65757] gfortran gives incorrect result for anint with real*16 argument

2015-04-13 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65757 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org