[Bug c/79358] gcc.dg/c99-stdint-1.c fails with excess error
joseph at codesourcery dot com
gcc-bugzilla@gcc.gnu.org
Fri Feb 3 16:47:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79358
--- Comment #5 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
On Fri, 3 Feb 2017, vogt at linux dot vnet.ibm.com wrote:
> void
> foo (void)
> {
> __typeof__((4294967295U)) a;
> __typeof__((long unsigned int)0 + 0) *b = &a;
> }
That's not a meaningful reduction. The relevant reduction would be to
just one of the CHECK_* macro calls in the test, which would show which
macro (in the system's <stdint.h> header) has an incorrect definition.
You could then consider fixing this with a fixincludes fix for buggy
system headers (as well as fixing the headers upstream).
More information about the Gcc-bugs
mailing list