r227295 - Sema: Ensure that __c11_atomic_fetch_add has a pointer to complete type

Hans Wennborg hans at chromium.org
Wed Jan 28 11:20:31 PST 2015


On Wed, Jan 28, 2015 at 10:39 AM, Hans Wennborg <hans at chromium.org> wrote:
> On Tue, Jan 27, 2015 at 9:48 PM, David Majnemer
> <david.majnemer at gmail.com> wrote:
>> Author: majnemer
>> Date: Tue Jan 27 23:48:06 2015
>> New Revision: 227295
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=227295&view=rev
>> Log:
>> Sema: Ensure that __c11_atomic_fetch_add has a pointer to complete type
>>
>> Pointer arithmetic is only makes sense if the pointee type is complete.
>>
>> This fixes PR22361.
>
> Is this a fix that's suitable for the 3.6 branch?

David said "yes" offline. Merged in r227349.

 - Hans



More information about the cfe-commits mailing list