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

Hans Wennborg hans at chromium.org
Wed Jan 28 10:39:32 PST 2015


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?

Thanks,
Hans



More information about the cfe-commits mailing list