dump-noaddr.c: Reduce string length for targets where an "int" is less than 32 bits wide.
2007-07-25 Janis Johnson <janis187@us.ibm.com> * gcc.c-torture/unsorted/dump-noaddr.c: Reduce string length for targets where an "int" is less than 32 bits wide. From-SVN: r126910
This commit is contained in:
parent
d23ebaf0c4
commit
15d92b36a1
|
@ -1,3 +1,8 @@
|
|||
2007-07-25 Janis Johnson <janis187@us.ibm.com>
|
||||
|
||||
* gcc.c-torture/unsorted/dump-noaddr.c: Reduce string length for
|
||||
targets where an "int" is less than 32 bits wide.
|
||||
|
||||
2007-07-25 Andreas Krebbel <krebbel1@de.ibm.com>
|
||||
|
||||
* gcc.dg/20070725-1.c: Testcase for revision 126876 added.
|
||||
|
|
|
@ -1,10 +1,21 @@
|
|||
#include <limits.h>
|
||||
|
||||
#if MASK & 1
|
||||
#define t11(x) x x x x x x x x x x x
|
||||
#define t16(x) x x x x x x x x x x x x x x x x
|
||||
#if INT_MAX < 2147483647
|
||||
#define M (sizeof (t11(t11(t16(t16(" "))))) - 1)
|
||||
#else
|
||||
#define M (sizeof (t16(t16(t16(t16(t16(" ")))))) - 1)
|
||||
#endif
|
||||
#endif
|
||||
#if MASK & 2
|
||||
#if INT_MAX < 2147483647
|
||||
#define M 30976
|
||||
#else
|
||||
#define M 1048576
|
||||
#endif
|
||||
#endif
|
||||
|
||||
typedef struct s {
|
||||
int c;
|
||||
|
|
Loading…
Reference in New Issue