https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95173
--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Iain Buclaw <ibuc...@gcc.gnu.org>: https://gcc.gnu.org/g:62e02c8729a75c4a859edc18e0bcafb87d717f46 commit r11-1658-g62e02c8729a75c4a859edc18e0bcafb87d717f46 Author: Iain Buclaw <ibuc...@gdcproject.org> Date: Tue Jun 23 16:25:29 2020 +0200 d: Fix ICE in uda_attribute_p when looking up unknown attribute The target attribute table is not guaranteed to be set in all backends. gcc/d/ChangeLog: PR d/95173 * d-attribs.cc (uda_attribute_p): Don't search target attribute table if NULL. gcc/testsuite/ChangeLog: PR d/95173 * gdc.dg/pr95173.d: New test.