array1.C: Size array via arithmetic based on the native word size instead of an integ...
authorRichard Henderson <rth@cygnus.com>
Tue, 15 Sep 1998 19:17:46 +0000 (12:17 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 15 Sep 1998 19:17:46 +0000 (12:17 -0700)
        * g++.old-deja/g++.brendan/array1.C: Size array via arithmetic based
        on the native word size instead of an integer literal.

From-SVN: r22435

gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.brendan/array1.C

index 9f8429d874e307a7069d0a891414d19283f426eb..07ebd8f7e076d6979f87b5d099d5f0fc7d8ce50f 100644 (file)
@@ -1,3 +1,8 @@
+1998-09-16  Richard Henderson  <rth@cygnus.com>
+
+       * g++.old-deja/g++.brendan/array1.C: Size array via arithmetic based
+       on the native word size instead of an integer literal.
+
 1998-09-15  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
        * g++.old-deja/g++.other/static2.C: invocation of static data
index 64924639f6f4155161a312a521734497a1c66d37..18129589d9f6a37e7e0ce8965414a87d22122d07 100644 (file)
@@ -1,7 +1,7 @@
 // Build don't link: 
 // Special g++ Options: -fconserve-space -fcommon
 // GROUPS passed array-bindings
-// excess errors test - XFAIL sparc64-*-* 
+
 extern "C" void printf (char *, ...);
-char array[(unsigned) 0x90000000];// ERROR -  overflow in array dimension.* , XFAIL sparc64-*-* alpha*-*-*
+char array[~(~0ul>>1)|~(0ul>>3)];  // ERROR - overflow in array dimension.*
 int main () { printf ("PASS\n"); return 0; }