2004-06-19 Jakub Jelinek <jakub@redhat.com>
+ * gcc.dg/compat/struct-align-2_x.c: Include <limits.h>.
+ Use INT_MAX instead of __INT_MAX__.
+ * gcc.dg/compat/struct-align-2_y.c: Likewise.
+
* gcc.dg/compat/compat-common.h (CINT, CDBL): Define.
* gcc.dg/compat/scalar-return-3_x.c: Use it.
* gcc.dg/compat/scalar-return-3_y.c: Use it.
* gcc.dg/compat/scalar-by-value-4_x.c: Use it.
* gcc.dg/compat/scalar-by-value-4_y.c: Use it.
-2004-06-19 Jakub Jelinek <jakub@redhat.com>
-
* gcc.dg/range-test-1.c: New test.
* g++.dg/opt/range-test-1.C: New test.
/* Disable this test for 16-bit targets. */
-#if !(defined __GNUC__) || (__INT_MAX__ > 32767)
+#include <limits.h>
+
+#if !(defined __GNUC__) || (INT_MAX > 32767)
#include "compat-common.h"
#include "struct-align-2.h"
void struct_align_2_x (void) {}
-#endif /* __INT_MAX__ */
+#endif /* INT_MAX */
/* Disable this test for 16-bit targets. */
-#if !(defined __GNUC__) || (__INT_MAX__ > 32767)
+#include <limits.h>
+
+#if !(defined __GNUC__) || (INT_MAX > 32767)
#include "compat-common.h"
#include "struct-align-2.h"
int i; /* prevent compiling an empty file */
-#endif /* __INT_MAX__ */
+#endif /* INT_MAX */