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] |
Hi,
On Thu, 29 Mar 2007, Doug Gregor wrote:
> build_complex_type was placing IDENTIFIER_NODEs into TYPE_NAME, rather > than TYPE_DECLs as it should have.
That actually is okay. The practice of using TYPE_DECLs in TYPE_NAME even for non-typedefs is only done in the c++ frontend (at least in the past that was so, perhaps that has meanwhile also crept into the other frontends or general code). Normally all common code (including dwarf2*) deals with TYPE_NAME either being an identifier or a decl.
Having the IDENTIFIER_NODE there was causing a crash somewhere in the C++ front end, hence the change. Unfortunately, since it was about 3 weeks ago that I worked up the patch, I have no recollection of *what* failed in the C++ front end :(
Cheers, Doug
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |