This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50234] internal compiler error: in cxx_eval_component_reference, at cp/semantics.c:6527
- 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: Tue, 30 Aug 2011 15:28:57 +0000
- Subject: [Bug c++/50234] internal compiler error: in cxx_eval_component_reference, at cp/semantics.c:6527
- Auto-submitted: auto-generated
- References: <bug-50234-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50234
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-08-30 15:28:57 UTC ---
Author: jason
Date: Tue Aug 30 15:28:55 2011
New Revision: 178327
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178327
Log:
PR c++/50234
* semantics.c (cxx_eval_component_reference): Handle
value-initialization for omitted initializers.
Added:
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-value3.C
Modified:
branches/gcc-4_6-branch/gcc/cp/ChangeLog
branches/gcc-4_6-branch/gcc/cp/semantics.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog