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++/65390] ICE in strip_typedefs, at cp/tree.c:1361


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65390

--- Comment #7 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Tue Mar 31 17:35:29 2015
New Revision: 221799

URL: https://gcc.gnu.org/viewcvs?rev=221799&root=gcc&view=rev
Log:
    PR c++/65390
    * tree.c (build_cplus_array_type): Use dependent_type_p rather than
    checking for constness.

    * g++.dg/template/pr65390.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/template/pr65390.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/tree.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]