*** empty log message ***
authorAlan Lehotsky <lehotsky@tiac.net>
Wed, 10 Jan 2001 23:57:55 +0000 (23:57 +0000)
committerAlan Lehotsky <alehotsky@gcc.gnu.org>
Wed, 10 Jan 2001 23:57:55 +0000 (18:57 -0500)
From-SVN: r38886

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

index 8c95265f81765ca37e0bcb6841bf8dafb7696b19..f359cb7dd920c66d8da8590161f7187bf9f874d8 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 bce1bb6626a6a77e4f2e54d3252e57111d765690..223714d20b5ca63fc0ac259802659ade20b985f3 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;
 };