On Thu, Oct 20, 2016 at 6:50 AM, Eric Botcazou <ebotca...@adacore.com> wrote:
>> Similarly on arm*/aarch64*:
>> /aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/testsuite/g++.dg/cpp1z/aligned-new7.
>> C:13:41: warning: requested alignment 32 is larger than 16 [-Wattributes]
>
> Likewise on SPARC/Solaris:
>
> aligned-new7.C: In function 'int main()':
> aligned-new7.C:13:41: warning: requested alignment 16 is larger than 8 [-
> Wattributes]
>    alignas(alignof(X)) char buf[sizeof(X)];

Fixed the testcase.

Jason

Reply via email to