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++/47808] [4.6 Regression][C++0x] internal compiler error: in tsubst_copy_and_build, at cp/pt.c:13326


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

--- Comment #15 from Jason Merrill <jason at gcc dot gnu.org> 2011-03-11 16:49:46 UTC ---
Author: jason
Date: Fri Mar 11 16:49:41 2011
New Revision: 170878

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170878
Log:
    PR c++/47808
    * decl.c (compute_array_index_type): Discard folding
    if it didn't produce a constant.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/regress/array1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog


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