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]

[committed] Finish fixing Ada bootstrap


I only had compiled the compiler itself as I ran into another bug which was
fixed by my fixing objc++ patch which I had tested separately.


The problem here is the Ada front-end was abusing a field of FIELD_DECL
which was removed from FIELD_DECL, DECL_SECTION_NAME.  I changed it to
abuse a different field which is really only used in the C++ front-end,
DECL_FCONTEXT as recommend by Daniel Berlin.

Committed as obvious after finishing bootstrapping.

Thanks,
Andrew Pinski

ChangeLog:

decl.c (components_to_record): Use DECL_FCONTEXT instead of DECL_SECTION_NAME.
(compare_field_bitpos): Likewise.



Attachment: ada.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]