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: "vogt at linux dot vnet.ibm.com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 03 Feb 2017 17:06: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 #7 from Dominik Vogt <vogt at linux dot vnet.ibm.com> ---
Or even
--
#include <limits.h>
#include <stdint.h>
#define FOO(TYPE, EXPR) __typeof__(EXPR) a; __typeof__((TYPE)0 + 0) *b = &a;
void foo (void)
{
FOO(__SIZE_TYPE__, (SIZE_MAX));
}
--
So __typeof__(SIZE_MAX) is different from __typeof__(__SIZE_TYPE__) when using
-m31.