[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#595782: marked as done (gcc-4.4: wrong conversion from unsigned int to float on sparc)



Your message dated Sun, 05 Jul 2015 16:18:22 +0000
with message-id <E1ZBmcY-0006gk-9d@franck.debian.org>
and subject line Bug#707276: Removed package(s) from unstable
has caused the Debian Bug report #595782,
regarding gcc-4.4: wrong conversion from unsigned int to float on sparc
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
595782: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=595782
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: gcc-4.4
Version: 4.4.4-11
Severity: normal

Hello,

The present bugreport is a followup to #593193 and a regression wrt
4.3.

Steps to reproduce:

    (sid)smetana:~/gcc-4.4/gmp-ecm-6.3$ cat bug.c
    #include <stdio.h>

    int
    main()
    {
      unsigned int t = 254733465;
      float f;
      f = (float) t;
      printf ("t=%u f=%.0f\n", t, f);
    }

    (sid)smetana:~/gcc-4.4/gmp-ecm-6.3$ gcc-4.4 bug.c; ./a.out
    t=254733465 f=482062944

    (sid)smetana:~/gcc-4.4/gmp-ecm-6.3$ gcc-4.3 bug.c; ./a.out
    t=254733465 f=254733472

The correct result is the second one, since the closest single precision
float (24-bit significand) from 254733465 is 254733472.

Many thanks to Lucas Nussbaum and Paul Zimmermann for working on this
bug.

Regards,

Laurent Fousse.



--- End Message ---
--- Begin Message ---
Version: 1:4.4.7-8+rm

Dear submitter,

as the package gcc-4.4 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/707276

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Luca Falavigna (the ftpmaster behind the curtain)

--- End Message ---

Reply to: