https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95173

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Iain Buclaw
<ibuc...@gcc.gnu.org>:

https://gcc.gnu.org/g:3e1af1d0be13e4615e001fb19e294c8d28d69f94

commit r10-8372-g3e1af1d0be13e4615e001fb19e294c8d28d69f94
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.

    (cherry picked from commit 62e02c8729a75c4a859edc18e0bcafb87d717f46)

Reply via email to