2011-10-28 Paolo Carlini <paolo.carlini@oracle.com>

Revert Fix for c++/50864.

From-SVN: r180639
This commit is contained in:
Paolo Carlini 2011-10-29 00:04:55 +00:00 committed by Paolo Carlini
parent b8d84495f8
commit f6d3d0fd4f
3 changed files with 17 additions and 10 deletions

View File

@ -1,3 +1,12 @@
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.

View 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.

View File

@ -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;