[Bug target/63966] [5 regression] inconsistent operand constraints compiling build libcpp

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Nov 19 19:28:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63966

--- Comment #5 from Uroš Bizjak <ubizjak at gmail dot com> ---
Can you please test this patch:

--cut here--
Index: lex.c
===================================================================
--- lex.c       (revision 217789)
+++ lex.c       (working copy)
@@ -471,7 +471,11 @@

 /* 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;
--cut here--


More information about the Gcc-bugs mailing list