diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9f8429d874e3..07ebd8f7e076 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +1998-09-16 Richard Henderson + + * 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 * g++.old-deja/g++.other/static2.C: invocation of static data diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/array1.C b/gcc/testsuite/g++.old-deja/g++.brendan/array1.C index 64924639f6f4..18129589d9f6 100644 --- a/gcc/testsuite/g++.old-deja/g++.brendan/array1.C +++ b/gcc/testsuite/g++.old-deja/g++.brendan/array1.C @@ -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; }