This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/52672] internal compiler error: in cxx_eval_indirect_ref, at cp/semantics.c:6766


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52672

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> 2012-03-30 03:48:18 UTC ---
Author: jason
Date: Fri Mar 30 03:48:12 2012
New Revision: 185989

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185989
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:
    branches/gcc-4_7-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-52672.C
Modified:
    branches/gcc-4_7-branch/gcc/cp/ChangeLog
    branches/gcc-4_7-branch/gcc/cp/semantics.c
    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]