From: Paolo Carlini Date: Sat, 29 Oct 2011 00:04:55 +0000 (+0000) Subject: 2011-10-28 Paolo Carlini X-Git-Tag: releases/gcc-4.7.0~2727 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6d3d0fd4fccf88784c5f004d3202602bd24b025;p=thirdparty%2Fgcc.git 2011-10-28 Paolo Carlini Revert Fix for c++/50864. From-SVN: r180639 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 750362b40b96..b25d362f1ba1 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,12 @@ +2011-10-28 Paolo Carlini + + Revert: + 2011-10-28 Paolo Carlini + + PR c++/50864 + * pt.c (tsubst_copy_and_build): Fix qualified_name_lookup_error + call in case COMPONENT_REF. + 2011-10-28 Paolo Carlini * pt.c (unify_pack_expansion): Initialize bad_old_arg and bad_new_arg. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index beab46e6e6fb..27d44e671ae8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2011-10-28 Paolo Carlini + + Revert: + 2011-10-28 Paolo Carlini + + PR c++/50864 + * g++.dg/template/crash109.C: New. + 2011-10-28 Jason Merrill * 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 index 3f2f81ee8bc0..000000000000 --- a/gcc/testsuite/g++.dg/template/crash109.C +++ /dev/null @@ -1,10 +0,0 @@ -// PR c++/50864 - -namespace impl -{ - template T create(); -} - -template () -> impl::create())> // { dg-error "not a member" } -struct foo;