This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50787] [4.6 Regression] reference fails to bind directly to variable
- 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: Wed, 19 Oct 2011 20:31:14 +0000
- Subject: [Bug c++/50787] [4.6 Regression] reference fails to bind directly to variable
- Auto-submitted: auto-generated
- References: <bug-50787-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50787
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2011-10-19 20:31:14 UTC ---
Author: jason
Date: Wed Oct 19 20:30:50 2011
New Revision: 180204
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180204
Log:
PR c++/50787
* parser.c (cp_parser_initializer_clause): Don't call
maybe_constant_value here.
Modified:
branches/gcc-4_6-branch/gcc/cp/ChangeLog
branches/gcc-4_6-branch/gcc/cp/parser.c