Regression on i686 host: gdb.base/floatn.exp: [RFC v2][2/2] Target FP: Make use of MPFR if available

Jan Kratochvil jan.kratochvil@redhat.com
Sun Dec 10 15:10:00 GMT 2017


Hi Ulrich,

2400729ecfd2c7be8b18aeaa822fef5a4b503f8a is the first bad commit
commit 2400729ecfd2c7be8b18aeaa822fef5a4b503f8a
Author: Ulrich Weigand <ulrich.weigand@de.ibm.com>
Date:   Wed Nov 22 13:53:43 2017 +0100
    Target FP: Make use of MPFR if available

FAIL: gdb.base/floatn.exp: the original value of f128 is 3.375
FAIL: gdb.base/floatn.exp: try to change f128 to -3.375 with 'print f128=-3.375'
FAIL: gdb.base/floatn.exp: the value of f128 is changed to 30.375
FAIL: gdb.base/floatn.exp: the original value of c128 is 3.375 + 1 * I

It is reproducible on Fedora Rawhide i686.  Not reproducible on Fedora Rawhide
x86_64 and not even on x86_64 -m32.  I haven't tried other OSes/versions.


Jan


 print f128^M
-$3 = 3.375^M
-(gdb) PASS: gdb.base/floatn.exp: the original value of f128 is 3.375
+$3 = 1.375^M
+(gdb) FAIL: gdb.base/floatn.exp: the original value of f128 is 3.375

 print f128=-3.375^M
-$8 = -3.375^M
-(gdb) PASS: gdb.base/floatn.exp: try to change f128 to -3.375 with 'print f128=-3.375'
+$8 = -1.375^M
+(gdb) FAIL: gdb.base/floatn.exp: try to change f128 to -3.375 with 'print f128=-3.375'

 print f128^M
-$13 = 30.375^M
-(gdb) PASS: gdb.base/floatn.exp: the value of f128 is changed to 30.375
+$13 = 6.375^M
+(gdb) FAIL: gdb.base/floatn.exp: the value of f128 is changed to 30.375

-$18 = 3.375 + 1 * I^M
-(gdb) PASS: gdb.base/floatn.exp: the original value of c128 is 3.375 + 1 * I
+$18 = 1.375 + 1 * I^M
+(gdb) FAIL: gdb.base/floatn.exp: the original value of c128 is 3.375 + 1 * I



More information about the Gdb-patches mailing list