This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/65750] [4.9/5 Regression] misinterpret in a virtual member function with a C++11 style function signature
- From: "paolo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 29 Jun 2015 09:35:30 +0000
- Subject: [Bug c++/65750] [4.9/5 Regression] misinterpret in a virtual member function with a C++11 style function signature
- Auto-submitted: auto-generated
- References: <bug-65750-4 at http dot gcc dot gnu dot org/bugzilla/>
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