Skip to content
This repository has been archived by the owner on Jun 20, 2019. It is now read-only.

Bug 251: ICE: in dwarf2out_imported_module_or_decl_1, at dwarf2out.c:23802 #373

Merged
merged 1 commit into from
Jan 26, 2017

Conversation

ibuclaw
Copy link
Member

@ibuclaw ibuclaw commented Jan 25, 2017

This occurred in complex cases of selectively importing a class declaration symbol. The problem being that the TYPE_STUB_DECL is only set for the underlying RECORD_TYPE, not the reference type.

In the simple case, this wasn't happening because the ImportVisitor never built an imported decl for straightforward class imports. This has also been fixed, which in turn improves gdb usability.

Source file has been reformatted also, with copyright years updated as it is a relatively manageable size.

…23802

This occurred in complex cases of selectively importing a class
declaration symbol.  The problem being that the TYPE_STUB_DECL is only
set for the underlying RECORD_TYPE, not the reference type.

In the simple case, this wasn't happening because the ImportVisitor
never built an imported decl for straightforward class imports.  This
has also been fixed, which in turn improves gdb usability.

Source file has been reformatted also, with copyright years updated as
it is a relatively manageable size.
@ibuclaw ibuclaw merged commit f87d206 into D-Programming-GDC:master Jan 26, 2017
@ibuclaw ibuclaw deleted the pr251 branch January 26, 2017 20:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants