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:
parent
3824dd584c
commit
b193cb6b8d
2 changed files with 12 additions and 3 deletions
|
@ -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>
|
2008-08-10 Samuel Tardieu <sam@rfc1149.net>
|
||||||
|
|
||||||
* gnat.dg/exp0_eval.adb: New.
|
* gnat.dg/exp0_eval.adb: New.
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
/* This used to ICE on s390x due to a reload bug. */
|
/* This used to ICE on s390x due to a reload bug. */
|
||||||
|
|
||||||
/* { dg-do compile } */
|
#if defined(STACK_SIZE) && (STACK_SIZE < 65536)
|
||||||
/* { dg-options "-O2" } */
|
#define BYTES 64
|
||||||
|
#else
|
||||||
|
#define BYTES 65400
|
||||||
|
#endif
|
||||||
|
|
||||||
int gl2;
|
int gl2;
|
||||||
typedef __SIZE_TYPE__ size_t;
|
typedef __SIZE_TYPE__ size_t;
|
||||||
|
@ -12,7 +15,7 @@ void
|
||||||
f1 ()
|
f1 ()
|
||||||
{
|
{
|
||||||
int i2;
|
int i2;
|
||||||
unsigned char bf[64 * 1024 + 4];
|
unsigned char bf[BYTES];
|
||||||
|
|
||||||
for (i2 = 0; i2 < 3; i2++)
|
for (i2 = 0; i2 < 3; i2++)
|
||||||
{
|
{
|
Loading…
Add table
Reference in a new issue