diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/20020411-1.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 324b3e6622f..e8e298b47ab 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2002-10-06 D.Venkatasubramanian <dvenkat@noida.hcltech.com> + + * gcc.dg/20020411-1.c: Disable for 16-bit "int". + 2002-10-06 Andreas Jaeger <aj@suse.de> * gcc.dg/cpp/c++98-pedantic.C: Moved to g++.dg/cpp. diff --git a/gcc/testsuite/gcc.dg/20020411-1.c b/gcc/testsuite/gcc.dg/20020411-1.c index d8a939254a8..a1834b8a1a5 100644 --- a/gcc/testsuite/gcc.dg/20020411-1.c +++ b/gcc/testsuite/gcc.dg/20020411-1.c @@ -5,6 +5,8 @@ /* { dg-options "-O2" } */ /* { dg-options "-O2 -march=i686" { target i?86-*-* } } */ +#if __INT_MAX__ > 32767 + typedef struct { unsigned a : 16; @@ -48,3 +50,5 @@ baz (unsigned int x, unsigned char y) foo (&t, 1); bar (&t); } + +#endif /* __INT_MAX__ */ |