This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/54903] [4.8 Regression] Auto + static in-class constant initialization not working
- 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: Thu, 15 Nov 2012 16:12:03 +0000
- Subject: [Bug c++/54903] [4.8 Regression] Auto + static in-class constant initialization not working
- Auto-submitted: auto-generated
- References: <bug-54903-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54903
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2012-11-15 16:12:03 UTC ---
Author: jason
Date: Thu Nov 15 16:11:56 2012
New Revision: 193535
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193535
Log:
PR c++/54903
* decl2.c (mark_used): Don't complain about auto in templates.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/auto36.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl2.c