Commit f0c4658b by David Edelsohn Committed by David Edelsohn

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
parent 1a5254ed
2015-11-13 David Edelsohn <dje.gcc@gmail.com>
* 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 <ajitkum@xilinx.com> 2015-11-13 Ajit Agarwal <ajitkum@xilinx.com>
Jeff Law <law@redhat.com> Jeff Law <law@redhat.com>
......
...@@ -8,7 +8,8 @@ int main() ...@@ -8,7 +8,8 @@ int main()
'\u0041'; // also OK in character literal '\u0041'; // also OK in character literal
int c\u0041c; // { dg-error "not valid in an identifier" } int c\u0041c; // { dg-error "not valid in an identifier" }
int c\u0024c; // $ is OK; not part of basic source char set // $ 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" } U"\uD800"; // { dg-error "not a valid universal character" }
} }
...@@ -42,4 +42,4 @@ int main(int, char**) ...@@ -42,4 +42,4 @@ int main(int, char**)
// Verify that the SubB() mem-initializer is storing 0 directly into // 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 // this->D.whatever rather than into a stack temp that is then copied into the
// base field. // 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*-*-* } } } }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment