gcc/libstdc++-v3/testsuite/29_atomics/atomic_integral
Jonathan Wakely 4cbaaa459e re PR libstdc++/65147 (alignment of std::atomic object is not correct)
2015-04-09  Jonathan Wakely  <jwakely@redhat.com>
	    Richard Henderson  <rth@redhat.com>

	PR libstdc++/65147
	* include/bits/atomic_base.h (__atomic_base<_ITp>): Increase
	alignment.
	* include/std/atomic (atomic): For types with a power of two size set
	alignment to at least the size.
	* testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
	* testsuite/29_atomics/atomic/65147.cc: New.
	* testsuite/29_atomics/atomic_integral/65147.cc: New.

Co-Authored-By: Richard Henderson <rth@redhat.com>

From-SVN: r221945
2015-04-09 12:15:44 +01:00
..
cons Update copyright years. 2015-01-05 13:33:28 +01:00
operators Update copyright years. 2015-01-05 13:33:28 +01:00
requirements Update copyright years. 2015-01-05 13:33:28 +01:00
60940.cc re PR libstdc++/60940 (general operations on atomic types do not work with atomic integral typedefs) 2015-01-17 01:23:28 +00:00
65147.cc re PR libstdc++/65147 (alignment of std::atomic object is not correct) 2015-04-09 12:15:44 +01:00