[Bug d/95173] [D] ICE on some architecture targets when trying to use unknown attribute
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jun 26 13:46:22 GMT 2020
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
<ibuclaw@gcc.gnu.org>:
https://gcc.gnu.org/g:3e1af1d0be13e4615e001fb19e294c8d28d69f94
commit r10-8372-g3e1af1d0be13e4615e001fb19e294c8d28d69f94
Author: Iain Buclaw <ibuclaw@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)
More information about the Gcc-bugs
mailing list