Hello! This will match "fake" bool type that is used throughout gcc sources. We can't use bool there, since the header is used in libgcc which doesn't include system.h
2012-09-12 Uros Bizjak <ubiz...@gmail.com> * config/i386/i386.c (x86_prefetch_sse): Change to unsigned char. * config/i386/i386.h (x86_prefetch_sse): Ditto. Tested on x86_64-pc-linux-gnu {,-m32} and committed to mainline SVN. Uros.
Index: config/i386/i386.c =================================================================== --- config/i386/i386.c (revision 191226) +++ config/i386/i386.c (working copy) @@ -2517,8 +2517,8 @@ /* Which instruction set architecture to use. */ enum processor_type ix86_arch; -/* true if sse prefetch instruction is not NOOP. */ -int x86_prefetch_sse; +/* True if processor has SSE prefetch instruction. */ +unsigned char x86_prefetch_sse; /* -mstackrealign option */ static const char ix86_force_align_arg_pointer_string[] Index: config/i386/i386.h =================================================================== --- config/i386/i386.h (revision 191224) +++ config/i386/i386.h (working copy) @@ -458,8 +458,7 @@ #define TARGET_FISTTP (TARGET_SSE3 && TARGET_80387) -extern int x86_prefetch_sse; - +extern unsigned char x86_prefetch_sse; #define TARGET_PREFETCH_SSE x86_prefetch_sse #define ASSEMBLER_DIALECT (ix86_asm_dialect)