On Dec 17, 2009, at 2:10 PM, Mike Stump wrote:
> On Dec 17, 2009, at 12:09 PM, Chris Lattner wrote:
>> On Dec 11, 2009, at 12:28 PM, Mike Stump wrote:
>>> On Dec 10, 2009, at 7:37 PM, Eli Friedman wrote:
>>>>> It is annoying when
>>>>>
>>>>> int foo() {
>>>>> asm xor eax, eax
>>>>> }
>>>>>
>>>>> gives a warning.
>>>>
>>>> If that actually works,
>>>
>>> Yes, that works.
>>
>> No it doesn't. It happens to get lucky in many cases, but it doesn't work.
>
> I'm referring to the specification of the feature and the behavior of gcc.
> In those two cases, yes, it does work. llvm-gcc has a bug, that could be
> fixed, and if it were fixed, then its behavior would match gcc, and then in
> llvm-gcc it would also work.
Your patch is still wrong, please revert it and fix the bug the right way.
-Chris
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits