This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Regression on i686 host: gdb.base/floatn.exp: [RFC v2][2/2] Target FP: Make use of MPFR if available
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sun, 10 Dec 2017 16:09:56 +0100
- Subject: Regression on i686 host: gdb.base/floatn.exp: [RFC v2][2/2] Target FP: Make use of MPFR if available
- Authentication-results: sourceware.org; auth=none
- References: <20171116190008.CD22CD80106@oc3748833570.ibm.com>
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