This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: upgrade libdecnumber
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: joseph at codesourcery dot com (Joseph S. Myers)
- Cc: bje at au1 dot ibm dot com, andreast-list at fgznet dot ch, gcc-patches at gcc dot gnu dot org
- Date: Mon, 30 Mar 2009 19:16:52 -0400 (EDT)
- Subject: Re: PATCH: upgrade libdecnumber
> I notice the upgrade does:
>
> - #include "gstdint.h" /* C99 standard integers */
> + #if !defined(int32_t)
> + #include <stdint.h> /* C99 standard integers */
> + #endif
>
> I don't think this is safe; GCC supports hosts without <stdint.h> (as does
> GDB, which shared this directory), which is why gstdint.h is created by
> configure, although all *targets* supporting DFP also have stdint.h (so
> libgcc/gstdint.h just includes <stdint.h>).
Yes, it breaks bootstrap on hpux.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)