Re: [PATCH, i386]: Fix PR 63966, inconsistent operand constraints compiling libcpp

2014-11-20 Thread Uros Bizjak
On Wed, Nov 19, 2014 at 9:59 PM, Uros Bizjak wrote: > Hello! > > libcpp/lex.c includes "../gcc/config/i386/cpuid.h", and is picked up > by the system compiler during stage1. Recently, cpuid.h was changed to > account for %ebx changes and now uses "b" asm constraint for i686 even > with __PIC__. A

[PATCH, i386]: Fix PR 63966, inconsistent operand constraints compiling libcpp

2014-11-19 Thread Uros Bizjak
Hello! libcpp/lex.c includes "../gcc/config/i386/cpuid.h", and is picked up by the system compiler during stage1. Recently, cpuid.h was changed to account for %ebx changes and now uses "b" asm constraint for i686 even with __PIC__. Attached patch solves this issue by including system for GCC < 5