OSDN Git Service

2011-10-28 Paolo Carlini <paolo.carlini@oracle.com>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 29 Oct 2011 00:04:55 +0000 (00:04 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 29 Oct 2011 00:04:55 +0000 (00:04 +0000)
Revert Fix for c++/50864.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180639 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/crash109.C [deleted file]

index 750362b..b25d362 100644 (file)
@@ -1,5 +1,14 @@
 2011-10-28  Paolo Carlini  <paolo.carlini@oracle.com>
 
+       Revert:
+        2011-10-28  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR c++/50864
+       * pt.c (tsubst_copy_and_build): Fix qualified_name_lookup_error
+       call in case COMPONENT_REF.
+
+2011-10-28  Paolo Carlini  <paolo.carlini@oracle.com>
+
        * pt.c (unify_pack_expansion): Initialize bad_old_arg and bad_new_arg.
 
 2011-10-28  Paolo Carlini  <paolo.carlini@oracle.com>
index beab46e..27d44e6 100644 (file)
@@ -1,3 +1,11 @@
+2011-10-28  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       Revert:
+        2011-10-28  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR c++/50864
+       * g++.dg/template/crash109.C: New.
+
 2011-10-28  Jason Merrill  <jason@redhat.com>
 
        * c-c++-common/dfp/pr33466.c: Adjust for user-defined literals.
diff --git a/gcc/testsuite/g++.dg/template/crash109.C b/gcc/testsuite/g++.dg/template/crash109.C
deleted file mode 100644 (file)
index 3f2f81e..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-// PR c++/50864
-
-namespace impl
-{
-  template <class T> T create();
-}
-
-template <class T, class U, __SIZE_TYPE__
-         = sizeof(impl::create<T>() -> impl::create<U>())>  // { dg-error "not a member" } 
-struct foo;