Re: [patch] libstdc++/65913 Handle alignment in __atomic_is_lock_free

2015-09-17 Thread Richard Henderson
On 09/17/2015 07:04 AM, Jonathan Wakely wrote: > Handle alignment in __atomic_is_lock_free > > gcc: > > 2015-09-17 Richard Henderson > > PR libstdc++/65913 > * builtins.c (fold_builtin_atomic_always_lock_free): Handle fake > pointers that encode the a

[patch] libstdc++/65913 Handle alignment in __atomic_is_lock_free

2015-09-17 Thread Jonathan Wakely
This fixes a 5/6 regression that causes atomic::is_lock_free() to require libatomic even on targets where the compiler knows the answer. The new test only runs on x86_64-linux and powerpc*-linux. It isn't actually OS-dependent but as long as it runs somewhere we should pick up regressions so thos