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++/39055] [DR 1443][4.4/4.5/4.6/4.7 regression] questionable default parameter of a member function accepted


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

--- Comment #20 from Jason Merrill <jason at gcc dot gnu.org> 2012-02-14 08:39:55 UTC ---
Author: jason
Date: Tue Feb 14 08:39:51 2012
New Revision: 184199

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184199
Log:
    PR c++/39055
    * decl.c (local_variable_p_walkfn): Don't check DECL_ARTIFICIAL.

Added:
    trunk/gcc/testsuite/g++.dg/overload/defarg5.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]