[PATCH] sync builtin testcase: Add alignment attribute on TImode variable

2014-02-07 Thread Andreas Krebbel
Hi, the S/390 expanders reject operands not being naturally aligned. This makes the gcc-have-sync-compare-and-swap.c failing. The attached patch adds an alignment attribute to the data type used in the check to make it succeed on S/390 again. In the future perhaps it would be more appropriate

Re: [PATCH] sync builtin testcase: Add alignment attribute on TImode variable

2014-02-07 Thread Jakub Jelinek
On Fri, Feb 07, 2014 at 02:12:44PM +0100, Andreas Krebbel wrote: 2014-02-07 Andreas Krebbel andreas.kreb...@de.ibm.com * gcc.dg/gcc-have-sync-compare-and-swap.c: Align the 16 byte variable used for atomic operations. Ok. ---