[Bug testsuite/83737] FAIL: gcc.dg/stdint-width-1.c (test for excess errors) for with newlib stdint.h

joseph at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Tue Jan 9 22:13:00 GMT 2018


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

--- Comment #4 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
Most configurations (for which the libc used has a working stdint.h) 
should probably be using use_gcc_stdint=wrap, so that GCC's stdint.h 
includes libc's for hosted compilations but GCC's own for freestanding 
compilations.  *-*-elf configurations do, for example.  I'd advise adding 
that for nvptx.  This test deliberately uses -ffreestanding so that any 
configurations using GCC's stdint.h for freestanding compilations have no 
problems with system stdint.h lacking TS 18661-1 support.


More information about the Gcc-bugs mailing list