[FFmpeg-devel] [PATCH] Fix compilation with llvm-gcc on x86_64

Måns Rullgård mans
Sun Nov 1 18:58:19 CET 2009


David Conrad <lessen42 at gmail.com> writes:

> On Nov 1, 2009, at 12:19 PM, Michael Kostylev wrote:
>
>>
>> On Sun Nov  1 16:45:11 2009
>> Mans Rullgard wrote:
>>
>>> Apparently llvm dislikes +g constraints with int operands.
>>
>> Clang works fine, however.
>
> I think this is http://llvm.org/bugs/show_bug.cgi?id=3373 which was
> fixed for clang but not llvm-gcc

That's not quite the same the thing.  That bug is about asm statements
with "=r"(foo) : "0"(bar) constraints, i.e. two different C
expressions tied to the same constraint.  In the +g case, there is
only one expression, so there can be no type mismatch.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list