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++/40307] Problem with auto deducing class type inside one of its own member functions



------- Comment #1 from jason at gcc dot gnu dot org  2009-06-02 17:03 -------
Subject: Bug 40307

Author: jason
Date: Tue Jun  2 17:02:27 2009
New Revision: 148088

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148088
Log:
        PR c++/40306
        PR c++/40307
        * decl.c (cp_finish_decl): Handle auto deduction from ().
        * typeck.c (build_x_indirect_ref): Handle dereferencing an operand
        with dependent type that is known to be a pointer.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/auto14.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/typeck.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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