From: uros Date: Thu, 20 Nov 2014 10:43:45 +0000 (+0000) Subject: PR target/63966 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=024db6135a3b5410cdef4b33455a467a3694fce6;p=thirdparty%2Fgcc.git PR target/63966 * lex.c [__i386__ || __x86_64__]: Include system for GCC_VERSION < 5000. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217830 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 5814dc4da18c..66cc81a377da 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,9 @@ +2014-11-20 Uros Bizjak + + PR target/63966 + * lex.c [__i386__ || __x86_64__]: Include system for + GCC_VERSION < 5000. + 2014-11-13 Manuel López-Ibáñez * include/line-map.h: Include EXPR, so that unused variable warnings diff --git a/libcpp/lex.c b/libcpp/lex.c index 2247386f829d..298dd7fff3dc 100644 --- a/libcpp/lex.c +++ b/libcpp/lex.c @@ -471,7 +471,11 @@ search_line_sse42 (const uchar *s, const uchar *end) /* Check the CPU capabilities. */ +#if (GCC_VERSION >= 5000) #include "../gcc/config/i386/cpuid.h" +#else +#include +#endif typedef const uchar * (*search_line_fast_type) (const uchar *, const uchar *); static search_line_fast_type search_line_fast;