]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix ICE in cp_omp_mappable_type_1
authorJakub Jelinek <jakub@redhat.com>
Mon, 8 Jul 2019 22:08:27 +0000 (22:08 +0000)
committerThomas Schwinge <thomas@codesourcery.com>
Tue, 3 Mar 2020 11:49:47 +0000 (12:49 +0100)
commitc68bbcbc64200458e9992cfc64edb31c834ecf70
tree8befcec23efe2db882c921cf01a56b443d1bc869
parent17d0289f0b0fba90c358e0e2894ee166bffe1026
Fix ICE in cp_omp_mappable_type_1

2019-07-09  Andrew Stubbs  <ams@codesourcery.com>

Backport from mainline
2019-07-08  Jakub Jelinek  <jakub@redhat.com>

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.

(cherry picked from openacc-gcc-9-branch commit
d6b6e2be68c197f41e19350df017685e652893ff)
gcc/cp/ChangeLog.omp
gcc/cp/decl2.c
gcc/testsuite/ChangeLog.omp
gcc/testsuite/g++.dg/gomp/pr91110.C [new file with mode: 0644]