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++/84611] [6/7/8 Regression] ICE in operator[], at vec.h:826 (local_class_index())


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

--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Thu Apr 19 18:09:45 2018
New Revision: 259505

URL: https://gcc.gnu.org/viewcvs?rev=259505&root=gcc&view=rev
Log:
/cp
2018-04-19  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/84611
        * pt.c (lookup_template_class_1): Check pushtag return value for
        error_mark_node.

/testsuite
2018-04-19  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/84611
        * g++.dg/parse/crash68.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/parse/crash68.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.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]