re PR c++/91110 (ICE: tree check: expected class 'type', have 'exceptional' (error_ma...
authorJakub Jelinek <jakub@redhat.com>
Mon, 8 Jul 2019 22:08:27 +0000 (00:08 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 8 Jul 2019 22:08:27 +0000 (00:08 +0200)
commit9c6e2f8274d1e6a621e410dc945488aa9ff6f779
treea41765b1a10d287173de4960f7694a9b0dcf5a05
parent079e0f619684ff63b32e0fa02f460f57e271e3b4
re PR c++/91110 (ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in cp_omp_mappable_type_1, at cp/decl2.c:1421)

PR c++/91110
* decl2.c (cp_omp_mappable_type_1): Don't emit any note for
error_mark_node type.

* g++.dg/gomp/pr91110.C: New test.

From-SVN: r273248
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/gomp/pr91110.C [new file with mode: 0644]