re PR target/63966 (inconsistent operand constraints compiling build libcpp)

PR target/63966
	* lex.c [__i386__ || __x86_64__]: Include system <cpuid.h> for
	GCC_VERSION < 5000.

From-SVN: r217830
This commit is contained in:
Uros Bizjak 2014-11-20 11:43:45 +01:00 committed by Uros Bizjak
parent 3cb9a885df
commit 8a23b10063
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2014-11-20 Uros Bizjak <ubizjak@gmail.com>
PR target/63966
* lex.c [__i386__ || __x86_64__]: Include system <cpuid.h> for
GCC_VERSION < 5000.
2014-11-13 Manuel López-Ibáñez <manu@gcc.gnu.org>
* include/line-map.h: Include EXPR, so that unused variable warnings

View File

@ -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 <cpuid.h>
#endif
typedef const uchar * (*search_line_fast_type) (const uchar *, const uchar *);
static search_line_fast_type search_line_fast;