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++/33558] 'mutable' incorrectly accepted on reference members


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33558

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-01-15 14:41:12 UTC ---
Author: redi
Date: Sat Jan 15 14:41:09 2011
New Revision: 168843

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168843
Log:
2011-01-15  Giovanni Funchal  <gafunchal@gmail.com>
        Jonathan Wakely  <jwakely.gcc@gmail.com>

    PR c++/33558
    * decl.c (grokdeclarator): Reject mutable reference members.


Added:
    trunk/gcc/testsuite/g++.dg/other/pr33558-2.C
    trunk/gcc/testsuite/g++.dg/other/pr33558.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog


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