This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 4.3 build failure in driver-i386.c


Richard Guenther wrote:
> On Feb 17, 2008 9:38 AM, Greg Schafer <gschafer@zip.com.au> wrote:

>> .stabn 68,0,91,.LM210-__get_cpuid_max
>> .LM210:
>> #APP
>>         pushf{l|d}
>>         pushf{l|d}
>>         pop{l}  %eax
>>         mov{l}  {%eax, %edx|%edx, %eax}
>>         xor{l}  {$2097152, %eax|%eax, $2097152}
>>         push{l} %eax
>>         popf{l|d}
>>         pushf{l|d}
>>         pop{l}  %eax
>>         popf{l|d}
>>
>> #NO_APP

> The problem is that your host GCC doesn't recognize the inline asm correctly
> (the above should not reach the assembler), GCC 3.3.x handles the above fine.
> This probably also breaks build with non-GCC host compilers.

Ahh, OK. Then the problem is much more serious than I first thought. I
just tried GCC-2.95.3 and you are right, that fails too. I've filed a PR
so this issue doesn't get forgotten:

http://gcc.gnu.org/PR35239

Thanks
Greg



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]