This is the mail archive of the gcc-patches@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]

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)


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