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]

Re: C++ PATCH: PR c++/7228




--On Wednesday, October 23, 2002 10:40:48 PM -0400 David Edelsohn <dje@watson.ibm.com> wrote:

	A patch to add the guards is appended, but if those macros always
should be guarded with a test that the lang_type structure exists, then it
probably should be subsumed into the macro and separate
SET_CLASSTYPE_... macros created for setting the fields.  Having to
remember to test for the lang_type structure is errorprone, as this PR
demonstrates.
Yes, that is what we should do.  If you do that, and tests pass, that
patch is pre-approved.

Thanks for stepping in to help with this C++ PR!

--
Mark Mitchell                mark@codesourcery.com
CodeSourcery, LLC            http://www.codesourcery.com


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