From: Jakub Jelinek Date: Fri, 18 Jun 2004 23:20:34 +0000 (+0200) Subject: struct-align-2_x.c: Include . X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dc04f75547c55a6022125ef3684f18ae432af236;p=gcc.git struct-align-2_x.c: Include . * gcc.dg/compat/struct-align-2_x.c: Include . Use INT_MAX instead of __INT_MAX__. * gcc.dg/compat/struct-align-2_y.c: Likewise. From-SVN: r83371 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c948f43c2cb..c29b49fa94a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2004-06-19 Jakub Jelinek + * gcc.dg/compat/struct-align-2_x.c: Include . + 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. @@ -10,8 +14,6 @@ * 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 - * gcc.dg/range-test-1.c: New test. * g++.dg/opt/range-test-1.C: New test. diff --git a/gcc/testsuite/gcc.dg/compat/struct-align-2_x.c b/gcc/testsuite/gcc.dg/compat/struct-align-2_x.c index 47f32d443ec..2a4ae586b76 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-align-2_x.c +++ b/gcc/testsuite/gcc.dg/compat/struct-align-2_x.c @@ -1,6 +1,8 @@ /* Disable this test for 16-bit targets. */ -#if !(defined __GNUC__) || (__INT_MAX__ > 32767) +#include + +#if !(defined __GNUC__) || (INT_MAX > 32767) #include "compat-common.h" #include "struct-align-2.h" @@ -80,4 +82,4 @@ struct_align_2_x (void) void struct_align_2_x (void) {} -#endif /* __INT_MAX__ */ +#endif /* INT_MAX */ diff --git a/gcc/testsuite/gcc.dg/compat/struct-align-2_y.c b/gcc/testsuite/gcc.dg/compat/struct-align-2_y.c index 15b684f453c..0ca2e40c4c1 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-align-2_y.c +++ b/gcc/testsuite/gcc.dg/compat/struct-align-2_y.c @@ -1,6 +1,8 @@ /* Disable this test for 16-bit targets. */ -#if !(defined __GNUC__) || (__INT_MAX__ > 32767) +#include + +#if !(defined __GNUC__) || (INT_MAX > 32767) #include "compat-common.h" #include "struct-align-2.h" @@ -68,4 +70,4 @@ TEST (pdata8) int i; /* prevent compiling an empty file */ -#endif /* __INT_MAX__ */ +#endif /* INT_MAX */