Commit f819a6a5 by Kazu Hirata Committed by Kazu Hirata

20040130-1.c: Enable only when __INT_MAX__ >= 2147483647L.

	* gcc.c-torture/compile/20040130-1.c: Enable only when
	__INT_MAX__ >= 2147483647L.
	* gcc.c-torture/compile/961203-1.c: Likewise.

From-SVN: r78148
parent f38a62ff
2004-02-19 Kazu Hirata <kazu@cs.umass.edu>
* gcc.c-torture/compile/20040130-1.c: Enable only when
__INT_MAX__ >= 2147483647L.
* gcc.c-torture/compile/961203-1.c: Likewise.
2004-02-19 Nathan Sidwell <nathan@codesourcery.com> 2004-02-19 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/parse/attr-ctor1.C: XFAIL on hppa. * g++.dg/parse/attr-ctor1.C: XFAIL on hppa.
......
...@@ -12,9 +12,13 @@ struct ...@@ -12,9 +12,13 @@ struct
unsigned int :4; unsigned int :4;
unsigned short :14; unsigned short :14;
unsigned int G938:8; unsigned int G938:8;
#if __INT_MAX__ >= 2147483647L
unsigned int :30; unsigned int :30;
#endif
unsigned short :16; unsigned short :16;
#if __INT_MAX__ >= 2147483647L
unsigned int :18; unsigned int :18;
#endif
unsigned short G939:9; unsigned short G939:9;
} G928b; } G928b;
......
/* The structure is too large for the xstormy16 - won't fit in 16 /* The structure is too large for the xstormy16 - won't fit in 16
bits. */ bits. */
/* { dg-xfail-if "The array too big" { "h8300-*-*" } { "-mno-h" "-mn" } { "" } } */ /* { dg-do assemble } */
/* { dg-do assemble { xfail xstormy16-*-* m6811-*-* m6812-*-* } } */
#if __INT_MAX__ >= 2147483647L
struct s { struct s {
char a[0x32100000]; char a[0x32100000];
int x:30, y:30; int x:30, y:30;
...@@ -17,3 +17,6 @@ main () ...@@ -17,3 +17,6 @@ main ()
if (p->x == p->y) if (p->x == p->y)
exit (1); exit (1);
} }
#else
int g;
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment