https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86630
--- Comment #3 from The Written Word <bugzilla-gcc at thewrittenword dot com> --- (In reply to Richard Biener from comment #2) > GCC assumes that inttypes.h contains PRIx64 It does. gcc/system.h has: /* Define this so that inttypes.h defines the PRI?64 macros even when compiling with a C++ compiler. Define it here so in the event inttypes.h gets pulled in by another header it is already defined. */ #define __STDC_FORMAT_MACROS However, as I built with ISL, gcc/graphite.c includes the ISL .h files before gcc/system.h meaning __STDC_FORMAT_MACROS gets defined after inttypes.h is pulled in, avoiding the definition of PRIx64. This #include order in gcc/graphite.c was fixed for gcc-6 so this problem seems to be limited to gcc-5 so I need to find a way around this.