Message ID | 20171103134549.26512D804DA@oc3748833570.ibm.com |
---|---|
State | New |
Headers | show |
On Fri, Nov 3, 2017 at 1:45 PM, Ulrich Weigand <uweigand@de.ibm.com> wrote: > > Can you test whether the following patch fixes the problem on a > real ARM system? > Yes, it fixes the test fail on armv{7,8}l-unknown-linux-gnueabihf.
diff --git a/gdb/doublest.c b/gdb/doublest.c index fe9fc23..ef98dde 100644 --- a/gdb/doublest.c +++ b/gdb/doublest.c @@ -387,7 +387,7 @@ convert_doublest_to_floatformat (const struct floatformat *fmt, } if (dfrom == 0) - return; /* Result is zero */ + goto finalize_byteorder; /* Result is zero */ if (dfrom != dfrom) /* Result is NaN */ { /* From is NaN */