mirror of git://gcc.gnu.org/git/gcc.git
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:
parent
3cb9a885df
commit
8a23b10063
|
|
@ -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>
|
2014-11-13 Manuel López-Ibáñez <manu@gcc.gnu.org>
|
||||||
|
|
||||||
* include/line-map.h: Include EXPR, so that unused variable warnings
|
* include/line-map.h: Include EXPR, so that unused variable warnings
|
||||||
|
|
|
||||||
|
|
@ -471,7 +471,11 @@ search_line_sse42 (const uchar *s, const uchar *end)
|
||||||
|
|
||||||
/* Check the CPU capabilities. */
|
/* Check the CPU capabilities. */
|
||||||
|
|
||||||
|
#if (GCC_VERSION >= 5000)
|
||||||
#include "../gcc/config/i386/cpuid.h"
|
#include "../gcc/config/i386/cpuid.h"
|
||||||
|
#else
|
||||||
|
#include <cpuid.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef const uchar * (*search_line_fast_type) (const uchar *, const uchar *);
|
typedef const uchar * (*search_line_fast_type) (const uchar *, const uchar *);
|
||||||
static search_line_fast_type search_line_fast;
|
static search_line_fast_type search_line_fast;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue