https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103866

--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> ---
GCC_HEADER_STDINT is unusable for freestanding, because it uses autoconf's
AC_CHECK_SIZEOF with the default includes, which does #include <stdio.h>
unconditionally.

But we only use GCC_HEADER_STDINT to create include/gstdint.h which is only
needed by src/c++11/compatibility-atomic-c++0x.cc, which could just use
<stdint.h> instead.

For now we can just make the use of GCC_HEADER_STDINT depend on $is_hosted, but
I think we should just remove it eventually.

Reply via email to