OSDN Git Service

*** empty log message ***
authoralehotsky <alehotsky@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Jan 2001 23:57:55 +0000 (23:57 +0000)
committeralehotsky <alehotsky@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Jan 2001 23:57:55 +0000 (23:57 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38886 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/20000926-1.c

index 8c95265..f359cb7 100644 (file)
@@ -1,3 +1,7 @@
+2001-01-10  Alan Lehotsky  <lehotsky@tiac.net>
+
+       * gcc.dg/20000926-1.c: Parameterize for machines with 16-bit ints.
+       
 2001-01-10  Nathan Sidwell  <nathan@codesourcery.com>
 
        * g++.old_deja/g++.pt/error3.C: New test.
index bce1bb6..223714d 100644 (file)
@@ -3,10 +3,11 @@
 
 /* { dg-do compile } */
 /* { dg-options "" } */
+#include <limits.h>
 
 struct PDATA
 {
-    unsigned int  Dummy:32;
+    unsigned int  Dummy:(sizeof(int)*CHAR_BIT);
     const char*   PName;
 };