* gcc.c-torture/compile/
20020910-1.c: Disable if __INT_MAX is
too small.
* gcc.c-torture/compile/930217-1.c: Likewise.
* gcc.c-torture/compile/930513-1.c: Likewise.
* gcc.c-torture/execute/920908-2.c: Likewise.
* gcc.c-torture/execute/921204-1.c: Likewise.
* gcc.c-torture/execute/930621-1.c: Likewise.
* gcc.c-torture/execute/930630-1.c: Likewise.
* gcc.c-torture/execute/931031-1.c: Likewise.
* gcc.c-torture/execute/980602-2.c: Likewise.
* gcc.c-torture/execute/comp-goto-1.c: Likewise.
* gcc.c-torture/execute/compndlit-1.c: Likewise.
* gcc.c-torture/execute/extzvsi.c: Likewise.
* gcc.c-torture/unsorted/ext.c: Likewise.
From-SVN: r74923
+2003-12-21 Kazu Hirata <kazu@cs.umass.edu>
+
+ * gcc.c-torture/compile/20020910-1.c: Disable if __INT_MAX is
+ too small.
+ * gcc.c-torture/compile/930217-1.c: Likewise.
+ * gcc.c-torture/compile/930513-1.c: Likewise.
+ * gcc.c-torture/execute/920908-2.c: Likewise.
+ * gcc.c-torture/execute/921204-1.c: Likewise.
+ * gcc.c-torture/execute/930621-1.c: Likewise.
+ * gcc.c-torture/execute/930630-1.c: Likewise.
+ * gcc.c-torture/execute/931031-1.c: Likewise.
+ * gcc.c-torture/execute/980602-2.c: Likewise.
+ * gcc.c-torture/execute/comp-goto-1.c: Likewise.
+ * gcc.c-torture/execute/compndlit-1.c: Likewise.
+ * gcc.c-torture/execute/extzvsi.c: Likewise.
+ * gcc.c-torture/unsorted/ext.c: Likewise.
+
2003-12-20 Andrew Pinski <pinskia@gcc.gnu.org>
PR target/12749
+/* The bit-field below would have a problem if __INT_MAX__ is too
+ small. */
+#if __INT_MAX__ < 2147483647
+int a;
+#else
unsigned int x0 = 0;
typedef struct {
{
yy.field1 = (unsigned int ) (&x0);
}
-
+#endif
+/* The bit-field below would have a problem if __INT_MAX__ is too
+ small. */
+#if __INT_MAX__ < 2147483647
+int a;
+#else
double g ();
typedef union {
struct {
((s *)&x)->u.e -= n;
x = g((double)x, -n);
}
+#endif
+/* The bit-field below would have a problem if __INT_MAX__ is too
+ small. */
+#if __INT_MAX__ < 2147483647
+int a;
+#else
struct s {
int f1 : 26;
int f2 : 8;
{
return x->f2++ == 0;
}
+#endif
+/* The bit-field below would have a problem if __INT_MAX__ is too
+ small. */
+#if __INT_MAX__ < 2147483647
+int
+main (void)
+{
+ exit (0);
+}
+#else
/*
CONF:m68k-sun-sunos4.1.1
OPTIONS:-O
if(f(t)!=0x11)abort();
exit(0);
}
+#endif
+/* The bit-field below would have a problem if __INT_MAX__ is too
+ small. */
+#if __INT_MAX__ < 2147483647
+int
+main (void)
+{
+ exit (0);
+}
+#else
typedef struct {
unsigned b0:1, f1:17, b18:1, b19:1, b20:1, f2:11;
} bf;
abort();
exit(0);
}
+#endif
+/* The bit-field below would have a problem if __INT_MAX__ is too
+ small. */
+#if __INT_MAX__ < 2147483647
+int
+main (void)
+{
+ exit (0);
+}
+#else
f ()
{
struct {
abort ();
exit (0);
}
+#endif
+/* The bit-field below would have a problem if __INT_MAX__ is too
+ small. */
+#if __INT_MAX__ < 2147483647
+int
+main (void)
+{
+ exit (0);
+}
+#else
main ()
{
struct
if (x != 7)
abort ();
}
+#endif
+/* The bit-field below would have a problem if __INT_MAX__ is too
+ small. */
+#if __INT_MAX__ < 2147483647
+int
+main (void)
+{
+ exit (0);
+}
+#else
struct foo
{
unsigned y:1;
abort ();
exit (0);
}
+#endif
+/* The bit-field below would have a problem if __INT_MAX__ is too
+ small. */
+#if __INT_MAX__ < 2147483647
+int
+main (void)
+{
+ exit (0);
+}
+#else
struct {
unsigned bit : 30;
} t;
else
abort ();
}
+#endif
#include <stdlib.h>
-#if !defined(NO_LABEL_VALUES) && (!defined(STACK_SIZE) || STACK_SIZE >= 4000)
-#if __INT_MAX__ == 32767
-typedef unsigned long uint32;
-typedef signed long sint32;
-#else
+#if !defined(NO_LABEL_VALUES) && (!defined(STACK_SIZE) || STACK_SIZE >= 4000) && __INT_MAX__ >= 2147483647
typedef unsigned int uint32;
typedef signed int sint32;
-#endif
typedef uint32 reg_t;
+/* The bit-field below would have a problem if __INT_MAX__ is too
+ small. */
+#if __INT_MAX__ < 2147483647
+int
+main (void)
+{
+ exit (0);
+}
+#else
struct S
{
int a:3;
abort ();
exit (0);
}
+#endif
+/* The bit-field below would have a problem if __INT_MAX__ is too
+ small. */
+#if __INT_MAX__ < 2147483647
+int
+main (void)
+{
+ exit (0);
+}
+#else
/* Failed on powerpc due to bad extzvsi pattern. */
struct ieee
abort ();
return 0;
}
+#endif
+/* The bit-field below would have a problem if __INT_MAX__ is too
+ small. */
+#if __INT_MAX__ < 2147483647
+int
+main (void)
+{
+ exit (0);
+}
+#else
struct foo
{
unsigned b31 : 1;
{
return a.b30;
}
+#endif