https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90677
--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Jan 2 17:36:50 2020 New Revision: 279841 URL: https://gcc.gnu.org/viewcvs?rev=279841&root=gcc&view=rev Log: PR c/90677 * cp-objcp-common.c (identifier_global_tag): Return NULL_TREE if name has not been found, rather than error_mark_node. * c-c++-common/pr90677-2.c: New test. Added: branches/gcc-9-branch/gcc/testsuite/c-c++-common/pr90677-2.c Modified: branches/gcc-9-branch/gcc/cp/ChangeLog branches/gcc-9-branch/gcc/cp/cp-objcp-common.c branches/gcc-9-branch/gcc/testsuite/ChangeLog