From: David Edelsohn Date: Sat, 14 Nov 2015 00:35:30 +0000 (+0000) Subject: vbase1.C: XFAIL powerpc*-*-*. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f0c4658bed6c3d724417ca56a0be1ff03ef277a8;p=gcc.git vbase1.C: XFAIL powerpc*-*-*. * g++.dg/init/vbase1.C: XFAIL powerpc*-*-*. * g++.dg/cpp/ucn-1.C: Expect error for dollar sign identifier on AIX. From-SVN: r230371 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ee92aaf3275..f59f863d558 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-11-13 David Edelsohn + + * g++.dg/init/vbase1.C: XFAIL powerpc*-*-*. + * g++.dg/cpp/ucn-1.C: Expect error for dollar sign identifier on AIX. + 2015-11-13 Ajit Agarwal Jeff Law diff --git a/gcc/testsuite/g++.dg/cpp/ucn-1.C b/gcc/testsuite/g++.dg/cpp/ucn-1.C index 880e899e9e6..56eea613ac8 100644 --- a/gcc/testsuite/g++.dg/cpp/ucn-1.C +++ b/gcc/testsuite/g++.dg/cpp/ucn-1.C @@ -7,8 +7,9 @@ int main() "\u0041"; // 'A' UCN is OK in string literal '\u0041'; // also OK in character literal - int c\u0041c; // { dg-error "not valid in an identifier" } - int c\u0024c; // $ is OK; not part of basic source char set + int c\u0041c; // { dg-error "not valid in an identifier" } + // $ is OK on most targets; not part of basic source char set + int c\u0024c; // { dg-error "not valid in an identifier" { target { powerpc-ibm-aix* } } } U"\uD800"; // { dg-error "not a valid universal character" } } diff --git a/gcc/testsuite/g++.dg/init/vbase1.C b/gcc/testsuite/g++.dg/init/vbase1.C index bcd6b42586d..0d53d61deda 100644 --- a/gcc/testsuite/g++.dg/init/vbase1.C +++ b/gcc/testsuite/g++.dg/init/vbase1.C @@ -42,4 +42,4 @@ int main(int, char**) // Verify that the SubB() mem-initializer is storing 0 directly into // this->D.whatever rather than into a stack temp that is then copied into the // base field. -// { dg-final { scan-rtl-dump "set \[^\n\]*\n\[^\n\]*this\[^\n\]*\n\[^\n\]*const_int 0" "expand" } } +// { dg-final { scan-rtl-dump "set \[^\n\]*\n\[^\n\]*this\[^\n\]*\n\[^\n\]*const_int 0" "expand" { xfail { powerpc*-*-* } } } }