This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/32351] New: Wrong DFP format is used in libdecnumber
- From: "hjl at lucon dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jun 2007 01:09:20 -0000
- Subject: [Bug other/32351] New: Wrong DFP format is used in libdecnumber
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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