public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/32351]  New: Wrong DFP format is used in libdecnumber
@ 2007-06-15  1:09 hjl at lucon dot org
  2007-06-18 15:02 ` [Bug other/32351] " hjl at lucon dot org
  0 siblings, 1 reply; 2+ messages in thread
From: hjl at lucon dot org @ 2007-06-15  1:09 UTC (permalink / raw)
  To: gcc-bugs

libdecnumber is a build library which is used by compiler internaly
to support DFP. configure.ac in libdecnumber has

  case $target in
    powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux*)
      enable_decimal_float=yes
      ;;
    *)
      enable_decimal_float=no
      ;;
  esac
...
  case $target in
    i?86*-*-linux* | x86_64*-*-linux*)
      enable_decimal_float=bid
      ;;
    *)
      enable_decimal_float=dpd
      ;;
  esac


When gcc is configured as i686-linux or x86_64-linux, the target won't
match "i?86*-*-linux* | x86_64*-*-linux*". As the result, libdecnumber
will be wrongly configured to use DPD by default. A patch is posted at

http://gcc.gnu.org/ml/gcc-patches/2007-06/msg01015.html


-- 
           Summary: Wrong DFP format is used in libdecnumber
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: patch
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl at lucon dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32351


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug other/32351] Wrong DFP format is used in libdecnumber
  2007-06-15  1:09 [Bug other/32351] New: Wrong DFP format is used in libdecnumber hjl at lucon dot org
@ 2007-06-18 15:02 ` hjl at lucon dot org
  0 siblings, 0 replies; 2+ messages in thread
From: hjl at lucon dot org @ 2007-06-18 15:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from hjl at lucon dot org  2007-06-18 15:02 -------
Fixed by

http://gcc.gnu.org/ml/gcc-cvs/2007-06/msg00569.html


-- 

hjl at lucon dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32351


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-06-18 15:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-15  1:09 [Bug other/32351] New: Wrong DFP format is used in libdecnumber hjl at lucon dot org
2007-06-18 15:02 ` [Bug other/32351] " hjl at lucon dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).