This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/32351] New: Wrong DFP format is used in libdecnumber


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]