pr51933.c: Disable for s390 31 bit.

2012-02-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* gcc.c-torture/execute/pr51933.c: Disable for s390 31 bit.

From-SVN: r184157
This commit is contained in:
Andreas Krebbel 2012-02-13 15:44:38 +00:00 committed by Andreas Krebbel
parent 8ca1b3428a
commit fecc70de1d
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2012-02-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* gcc.c-torture/execute/pr51933.c: Disable for s390 31 bit.
2012-02-13 Jakub Jelinek <jakub@redhat.com>
PR middle-end/52209

View File

@ -6,7 +6,15 @@ static unsigned char v2[256], v3[256];
__attribute__((noclone, noinline)) void
foo (void)
{
#if defined(__s390__) && !defined(__zarch__)
/* S/390 31 bit cannot deal with more than one literal pool
reference per insn. */
asm volatile ("" : : "g" (&v1) : "memory");
asm volatile ("" : : "g" (&v2[0]));
asm volatile ("" : : "g" (&v3[0]));
#else
asm volatile ("" : : "g" (&v1), "g" (&v2[0]), "g" (&v3[0]) : "memory");
#endif
}
__attribute__((noclone, noinline)) int