re PR c++/48289 (-pedantic breaks std::move)
authorJason Merrill <jason@redhat.com>
Fri, 25 Mar 2011 16:16:53 +0000 (12:16 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 25 Mar 2011 16:16:53 +0000 (12:16 -0400)
commit7eda336814b5c8d3ed37b4f9055889c6651eb1bb
tree9338a715246efa562c1019665f1a0bd4f761396f
parentc7dc8804a86017317cd7d3e5f65f715d5c4d5da2
re PR c++/48289 (-pedantic breaks std::move)

PR c++/48289
* pt.c (build_non_dependent_expr): Keep dereferences outside the
NON_DEPENDENT_EXPR.

From-SVN: r171461
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/move1.C [new file with mode: 0644]