This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49176] [4.6 Regression][c++0x] valid code rejected with "error: uninitialized const"
- 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: Fri, 27 May 2011 18:12:34 +0000
- Subject: [Bug c++/49176] [4.6 Regression][c++0x] valid code rejected with "error: uninitialized const"
- Auto-submitted: auto-generated
- References: <bug-49176-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49176
--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> 2011-05-27 18:10:52 UTC ---
Author: jason
Date: Fri May 27 18:10:48 2011
New Revision: 174346
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174346
Log:
PR c++/48657
PR c++/49176
* decl.c (cp_finish_decl): Simplify template handling.
Added:
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/template/const5.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