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

[Bug c/79358] gcc.dg/c99-stdint-1.c fails with excess error


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).

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