This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/48289] [4.5/4.6/4.7 regression] -pedantic breaks std::move
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 28 Mar 2011 15:06:34 +0000
- Subject: [Bug c++/48289] [4.5/4.6/4.7 regression] -pedantic breaks std::move
- Auto-submitted: auto-generated
- References: <bug-48289-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48289
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-03-28 15:06:32 UTC ---
Author: jason
Date: Mon Mar 28 15:06:28 2011
New Revision: 171607
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171607
Log:
Revert:
PR c++/48289
* pt.c (build_non_dependent_expr): Keep dereferences outside the
NON_DEPENDENT_EXPR.
Removed:
branches/gcc-4_5-branch/gcc/testsuite/g++.dg/cpp0x/move1.C
Modified:
branches/gcc-4_5-branch/gcc/cp/ChangeLog
branches/gcc-4_5-branch/gcc/cp/pt.c
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog