re PR c++/84611 (ICE in operator[], at vec.h:826 (local_class_index()))
authorPaolo Carlini <paolo.carlini@oracle.com>
Thu, 19 Apr 2018 18:09:45 +0000 (18:09 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 19 Apr 2018 18:09:45 +0000 (18:09 +0000)
commitf62a0ddd737a3faa3925ae211bd22fa8ca62c112
tree4b6f7a8e5c29316cba5ea0068f87786c1e151afc
parent5707be3c7da6196efcef2d86e623771153eb6c7f
re PR c++/84611 (ICE in operator[], at vec.h:826 (local_class_index()))

/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.

From-SVN: r259505
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/crash68.C [new file with mode: 0644]