https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91887
Bug ID: 91887 Summary: -fdebug-types-section ICE building chromium Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: major Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: jason at gcc dot gnu.org Target Milestone: --- Created attachment 46938 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46938&action=edit unincluded testcase Compiling this file with -g -fdebug-types-section hits an ICE under lookup_external_ref, because we're trying to look up a DW_TAG_typedef that has no symbol. We shouldn't be trying to form an external reference to a typedef in the first place; brief attempts to come up with a small testcase have not reproduced the problem.