This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/48289] [4.5/4.6/4.7 regression] -pedantic breaks std::move


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48289

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2011-03-25 16:17:00 UTC ---
Author: jason
Date: Fri Mar 25 16:16:53 2011
New Revision: 171461

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171461
Log:
    PR c++/48289
    * pt.c (build_non_dependent_expr): Keep dereferences outside the
    NON_DEPENDENT_EXPR.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/move1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]