This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/52672] internal compiler error: in cxx_eval_indirect_ref, at cp/semantics.c:6766
- 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, 27 Mar 2012 18:08:20 +0000
- Subject: [Bug c++/52672] internal compiler error: in cxx_eval_indirect_ref, at cp/semantics.c:6766
- Auto-submitted: auto-generated
- References: <bug-52672-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52672
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2012-03-27 18:08:20 UTC ---
Author: jason
Date: Tue Mar 27 18:08:13 2012
New Revision: 185890
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185890
Log:
PR c++/52672
* gcc/cp/semantics.c (cxx_fold_indirect_ref): Don't attempt to fold
stripped child trees that are not pointer types.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-52672.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c
trunk/gcc/testsuite/ChangeLog