20080806-1.c: Move testcase ...

2008-08-11  Andreas Krebbel  <krebbel1@de.ibm.com>

	* gcc.target/s390/20080806-1.c: Move testcase ...
 	* gcc.c-torture/compile/20080806-1.c: ... to here and make it
	stack size sensitive.

From-SVN: r138950
This commit is contained in:
Andreas Krebbel 2008-08-11 06:55:39 +00:00 committed by Andreas Krebbel
parent 3824dd584c
commit b193cb6b8d
2 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2008-08-11 Andreas Krebbel <krebbel1@de.ibm.com>
* gcc.target/s390/20080806-1.c: Move testcase ...
* gcc.c-torture/compile/20080806-1.c: ... to here and make it
stack size sensitive.
2008-08-10 Samuel Tardieu <sam@rfc1149.net>
* gnat.dg/exp0_eval.adb: New.

View File

@ -1,7 +1,10 @@
/* This used to ICE on s390x due to a reload bug. */
/* { dg-do compile } */
/* { dg-options "-O2" } */
#if defined(STACK_SIZE) && (STACK_SIZE < 65536)
#define BYTES 64
#else
#define BYTES 65400
#endif
int gl2;
typedef __SIZE_TYPE__ size_t;
@ -12,7 +15,7 @@ void
f1 ()
{
int i2;
unsigned char bf[64 * 1024 + 4];
unsigned char bf[BYTES];
for (i2 = 0; i2 < 3; i2++)
{