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++/65750] [4.9/5 Regression] misinterpret in a virtual member function with a C++11 style function signature


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65750

--- Comment #9 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Mon Jun 29 09:34:58 2015
New Revision: 225114

URL: https://gcc.gnu.org/viewcvs?rev=225114&root=gcc&view=rev
Log:
/cp
2015-06-29  Adam Butcher  <adam@jessamine.co.uk>

        PR c++/65750
        * parser.c (cp_parser_simple_type_specifier): Don't synthesize
        implicit template parm if 'auto' is a placeholder for trailing
        return type.

/testsuite
2015-06-29  Adam Butcher  <adam@jessamine.co.uk>

        PR c++/65750
        * g++.dg/cpp0x/trailing11.C: New.

Added:
    branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp0x/trailing11.C
Modified:
    branches/gcc-5-branch/gcc/cp/ChangeLog
    branches/gcc-5-branch/gcc/cp/parser.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog


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