This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/79358] gcc.dg/c99-stdint-1.c fails with excess error
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 03 Feb 2017 16:46:56 +0000
- Subject: [Bug c/79358] gcc.dg/c99-stdint-1.c fails with excess error
- Auto-submitted: auto-generated
- References: <bug-79358-4@http.gcc.gnu.org/bugzilla/>
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).