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++/44996] [C++0x] decltype produces rvalue reference type for parenthesized id-expression



------- Comment #2 from jason at gcc dot gnu dot org  2010-07-20 01:32 -------
Subject: Bug 44996

Author: jason
Date: Tue Jul 20 01:31:42 2010
New Revision: 162323

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162323
Log:
        PR c++/44996
        * semantics.c (finish_decltype_type): Correct decltype
        of parenthesized rvalue reference variable.

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


-- 


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


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