This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/48166] [4.6/4.7 Regression] ICE on static member function with invalid type qualifier
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 29 Mar 2011 16:07:36 +0000
- Subject: [Bug c++/48166] [4.6/4.7 Regression] ICE on static member function with invalid type qualifier
- Auto-submitted: auto-generated
- References: <bug-48166-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48166
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> 2011-03-29 16:07:20 UTC ---
Author: jason
Date: Tue Mar 29 16:07:15 2011
New Revision: 171679
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171679
Log:
PR c++/48166
* decl.c (revert_static_member_fn): Strip function-cv-quals.
Added:
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/parse/memfnquals1.C
Modified:
branches/gcc-4_6-branch/gcc/cp/ChangeLog
branches/gcc-4_6-branch/gcc/cp/decl.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog