Re: Issue 2 with "[libstdc++/65033] Give alignment info to libatomic"

2015-04-13 Thread Joseph Myers
On Mon, 13 Apr 2015, Hans-Peter Nilsson wrote: > b.cc:5:25: warning: requested alignment 16 is larger than 8 [-Wattributes] >alignas (16) char x[16]; > > which is mysterious (where does the 8 come from?), until I grep > the error string and find > c-family/c-common.c:check_cxx_fundamental_ali

Issue 2 with "[libstdc++/65033] Give alignment info to libatomic"

2015-04-12 Thread Hans-Peter Nilsson
(check_cxx_fundamental_alignment_constraints is Dodji's, others CC:ed were already in the thread) Looking into those atomic things and running tests for cris-elf, I get FAIL for libstdc++-v3/testsuite/29_atomics/atomic/65147.cc, specifically struct S16 { char c[16]; }; static_assert( alignof(