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++/48166] [4.6/4.7 Regression] ICE on static member function with invalid type qualifier


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


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