This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Regression on i686 host: gdb.base/floatn.exp: [RFC v2][2/2] Target FP: Make use of MPFR if available
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: jan dot kratochvil at redhat dot com (Jan Kratochvil)
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 11 Dec 2017 15:14:04 +0100 (CET)
- Subject: Re: 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
Jan Kratochvil wrote:
> On Sun, 10 Dec 2017 16:09:56 +0100, Jan Kratochvil wrote:
> > 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
>
> I have seen now also there, that will be probably the same, I did not check
> more:
> -PASS: gdb.base/float128.exp: try to change f128 to -2.375 with 'print f128=-2.375l'
> +FAIL: gdb.base/float128.exp: try to change f128 to -2.375 with 'print f128=-2.375l'
> -PASS: gdb.base/float128.exp: the value of f128 is changed to 20.375
> +FAIL: gdb.base/float128.exp: the value of f128 is changed to 20.375
> +FAIL: gdb.base/float128.exp: print large128
Hi Jan,
I was able to reproduce this problem by building GDB itself as a 32-bit binary.
I'm currently testing a fix ...
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU/Linux compilers and toolchain
Ulrich.Weigand@de.ibm.com