This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Here build_data_member_initialization got confused by the initialization of a field of local variable f and thought it was initializing a field of S; when we then went looking for that field in S, we didn't find it, and crashed. But if the target of an initialization is a member of a VAR_DECL, it can't be part of *this, so we should ignore it here. Tested x86_64-pc-linux-gnu, applying to trunk.
Attachment:
79461.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |