This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13657] Error message incorrectly describes return type as argument type
- 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: Wed, 19 Oct 2011 22:46:01 +0000
- Subject: [Bug c++/13657] Error message incorrectly describes return type as argument type
- Auto-submitted: auto-generated
- References: <bug-13657-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13657
--- Comment #6 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-10-19 22:46:01 UTC ---
Author: paolo
Date: Wed Oct 19 22:45:58 2011
New Revision: 180228
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180228
Log:
/cp
2011-10-19 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/13657
* class.c (instantiate_type): Fix error message.
/testsuite
2011-10-19 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/13657
* g++.dg/parse/error42.C: New.
* g++.old-deja/g++.other/ptrmem7.C: Tweak dg-errors.
Added:
trunk/gcc/testsuite/g++.dg/parse/error42.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/class.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.old-deja/g++.other/ptrmem7.C