Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2416)

Issue 5905068: [pph] Adjust expected patterns in some tests

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 1 month ago by Diego Novillo
Modified:
12 years, 1 month ago
Reviewers:
CC:
Lawrence Crowl, gcc-patches_gcc.gnu.org
Visibility:
Public.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -14 lines) Patch
M gcc/testsuite/ChangeLog.pph View 1 chunk +6 lines, -0 lines 0 comments Download
M gcc/testsuite/g++.dg/pph/x6dynarray4.cc View 1 chunk +8 lines, -2 lines 0 comments Download
M gcc/testsuite/g++.dg/pph/x6dynarray5.h View 1 chunk +0 lines, -9 lines 0 comments Download
M gcc/testsuite/g++.dg/pph/x7dynarray5.cc View 1 chunk +17 lines, -3 lines 0 comments Download

Messages

Total messages: 1
Diego Novillo
12 years, 1 month ago (2012-03-26 17:33:38 UTC) #1
Adjust expected patterns in some tests.

After the mangling adjustments I made earlier, these tests are
now passing and or failing in a different way.  Adjusted.

2012-03-26   Diego Novillo  <dnovillo@google.com>

	* g++.dg/pph/x6dynarray4.cc: Adjust expected patterns.
	* g++.dg/pph/x6dynarray5.h: Likewise.
	* g++.dg/pph/x7dynarray5.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/pph@185814
138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/testsuite/ChangeLog.pph             |    6 ++++++
 gcc/testsuite/g++.dg/pph/x6dynarray4.cc |   10 ++++++++--
 gcc/testsuite/g++.dg/pph/x6dynarray5.h  |    9 ---------
 gcc/testsuite/g++.dg/pph/x7dynarray5.cc |   19 +++++++++++++++++--
 4 files changed, 31 insertions(+), 13 deletions(-)

diff --git a/gcc/testsuite/ChangeLog.pph b/gcc/testsuite/ChangeLog.pph
index b510b55..ded2ef9 100644
--- a/gcc/testsuite/ChangeLog.pph
+++ b/gcc/testsuite/ChangeLog.pph
@@ -1,3 +1,9 @@
+2012-03-26   Diego Novillo  <dnovillo@google.com>
+
+	* g++.dg/pph/x6dynarray4.cc: Adjust expected patterns.
+	* g++.dg/pph/x6dynarray5.h: Likewise.
+	* g++.dg/pph/x7dynarray5.cc: Likewise.
+
 2012-03-23   Diego Novillo  <dnovillo@google.com>
 
 	* g++.dg/pph/x1mbstate_t.h: Mark fixed.
diff --git a/gcc/testsuite/g++.dg/pph/x6dynarray4.cc
b/gcc/testsuite/g++.dg/pph/x6dynarray4.cc
index 74fb0d9..6e43954 100644
--- a/gcc/testsuite/g++.dg/pph/x6dynarray4.cc
+++ b/gcc/testsuite/g++.dg/pph/x6dynarray4.cc
@@ -1,6 +1,12 @@
-// {    xfail-if "DEPENDENT" { "*-*-*" } { "-fpph-map=pph.map" } }
+// { xfail-if "DEPENDENT" { "*-*-*" } { "-fpph-map=pph.map" } }
+// { dg-bogus "a0dynarray-dcl3.hi:11:60: error: call of overloaded .operator
new ...sizetype.. is ambiguous" "" { xfail *-*-* } 0 }
+// { dg-bogus "stl_algobase.h:625:18: error: .__value. is not a member of
.std::__is_move_iterator" "" { xfail *-*-* } 0 }
+// { dg-bogus "stl_algobase.h:276:12: error: .__value. is not a member of
.std::__is_move_iterator" "" { xfail *-*-* } 0 }
+// { dg-bogus "stl_algobase.h:625:18: error: no matching function for call to
.__miter_base" "" { xfail *-*-* } 0 }
+// { dg-bogus "stl_algobase.h:282:5: error: no type named .iterator_type. in
.struct std::_Miter_base." "" { xfail *-*-* } 0 }
+// { dg-bogus "stl_algobase.h:139:7: error: .__value. is not a member of
.std::__are_same" "" { xfail *-*-* } 0 }
 
-#include "x6dynarray5.h" // { dg-bogus "cannot open PPH file x6dynarray5.pph"
"" { xfail *-*-* } }
+#include "x6dynarray5.h"
 
 #include <algorithm>
 
diff --git a/gcc/testsuite/g++.dg/pph/x6dynarray5.h
b/gcc/testsuite/g++.dg/pph/x6dynarray5.h
index 05634c1..69dbcb8 100644
--- a/gcc/testsuite/g++.dg/pph/x6dynarray5.h
+++ b/gcc/testsuite/g++.dg/pph/x6dynarray5.h
@@ -1,12 +1,3 @@
-// { dg-xfail-if "UNIMPL TRAIT MANGLING" { "*-*-*" } { "-fpph-map=pph.map" } }
-// { dg-bogus "bits/stl_uninitialized.h:66:12: sorry, unimplemented: mangling
trait_expr" "" { xfail *-*-* } 0 }
-// { dg-bogus "bits/stl_uninitialized.h:124:12: sorry, unimplemented: mangling
trait_expr" "" { xfail *-*-* } 0 }
-// { dg-bogus "bits/stl_uninitialized.h:178:12: sorry, unimplemented: mangling
trait_expr" "" { xfail *-*-* } 0 }
-// { dg-bogus "bits/allocator.h:153:12: sorry, unimplemented: mangling
trait_expr" "" { xfail *-*-* } 0 }
-// { dg-bogus "bits/stl_construct.h:98:12: sorry, unimplemented: mangling
trait_expr" "" { xfail *-*-* } 0 }
-// { dg-bogus "bits/stl_tempbuf.h:183:12: sorry, unimplemented: mangling
trait_expr" "" { xfail *-*-* } 0 }
-// { dg-bogus "bits/cpp_type_traits.h:87:12: internal compiler error: tree
check: expected integer_cst, have const_decl in tree_int_cst_sgn" "" { xfail
*-*-* } 0 }
-
 #ifndef X6DYNARRAY5_H
 #define X6DYNARRAY5_H
 
diff --git a/gcc/testsuite/g++.dg/pph/x7dynarray5.cc
b/gcc/testsuite/g++.dg/pph/x7dynarray5.cc
index cd55eab..628ea7c 100644
--- a/gcc/testsuite/g++.dg/pph/x7dynarray5.cc
+++ b/gcc/testsuite/g++.dg/pph/x7dynarray5.cc
@@ -1,8 +1,23 @@
-// {    xfail-if "DEPENDENT" { "*-*-*" } { "-fpph-map=pph.map" } }
+// { dg-xfail-if "DEPENDENT" { "*-*-*" } { "-fpph-map=pph.map" } }
+// { dg-bogus "streambuf_iterator.h:372:58: internal compiler error: canonical
types differ for identical types.*" "" { xfail *-*-* } 0 }
 // { dg-bogus "ext/atomicity.h:48:61: error: void value not ignored as it ought
to be" "" { xfail *-*-* } 0 }
+// { dg-bogus "basic_string.h:111:63: error: no class template named .rebind.
in .class std::allocator<char>." "" { xfail *-*-* } 0 }
+// { dg-bogus "basic_string.h:111:63: error: no class template named .rebind.
in .class std::allocator<wchar_t>." "" { xfail *-*-* } 0 }
+// { dg-bogus "basic_string.h:124:68: error: no class template named .rebind.
in .class std::allocator<char>." "" { xfail *-*-* } 0 }
+// { dg-bogus "basic_string.h:124:68: error: no class template named .rebind.
in .class std::allocator<wchar_t>." "" { xfail *-*-* } 0 }
+// { dg-bogus "basic_string.h:126:61: error: no class template named .rebind.
in .class std::allocator<char>." "" { xfail *-*-* } 0 }
+// { dg-bogus "basic_string.h:126:61: error: no class template named .rebind.
in .class std::allocator<wchar_t>." "" { xfail *-*-* } 0 }
+// { dg-bogus "basic_string.h:127:53: error: no class template named .rebind.
in .class std::allocator<char>." "" { xfail *-*-* } 0 }
+// { dg-bogus "basic_string.h:127:53: error: no class template named .rebind.
in .class std::allocator<wchar_t>." "" { xfail *-*-* } 0 }
+// { dg-bogus "basic_string.h:128:52: error: no class template named .rebind.
in .class std::allocator<char>." "" { xfail *-*-* } 0 }
+// { dg-bogus "basic_string.h:128:52: error: no class template named .rebind.
in .class std::allocator<wchar_t>." "" { xfail *-*-* } 0 }
+// { dg-bogus "basic_string.h:155:56: error: no class template named .rebind.
in .class std::allocator<char>." "" { xfail *-*-* } 0 }
+// { dg-bogus "basic_string.h:155:56: error: no class template named .rebind.
in .class std::allocator<wchar_t>." "" { xfail *-*-* } 0 }
+// { dg-bogus "locale_classes.tcc:47:46: error: call of overloaded .operator
new.sizetype.. is ambiguous" "" { xfail *-*-* } 0 }
+// { dg-bogus "locale_classes.tcc:65:43: error: call of overloaded .operator
new.sizetype.. is ambiguous" "" { xfail *-*-* } 0 }
 
 #include "x0dynarray4.h"
-#include "x6dynarray5.h" // { dg-bogus "warning: cannot open PPH file
x6dynarray5.pph" "" { xfail *-*-* } }
+#include "x6dynarray5.h"
 
 #include <algorithm>
 #include <iostream>
-- 
1.7.7.3


--
This patch is available for review at http://codereview.appspot.com/5905068
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b