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++/47999] [C++0x] auto type deduction works incorrectly in a function template


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

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-03-16 17:04:35 UTC ---
Author: jason
Date: Wed Mar 16 17:04:30 2011
New Revision: 171053

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171053
Log:
    PR c++/47999
    * semantics.c (finish_call_expr): Preserve reference semantics
    in templates.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/auto22.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.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]