This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, Darwin, c*, ObjC* 1/2] Implement Darwin CFStrings.
- From: Mike Stump <mikestump at comcast dot net>
- To: IainS <developer at sandoe-acoustics dot co dot uk>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Mike Stump <mrs at gcc dot gnu dot org>, Paolo Bonzini <bonzini at gnu dot org>, Nicola Pero <nicola dot pero at meta-innovation dot com>
- Date: Tue, 19 Oct 2010 10:01:34 -0700
- Subject: Re: [Patch, Darwin, c*, ObjC* 1/2] Implement Darwin CFStrings.
- References: <6C7293F5-4069-43D4-9980-182F81914800@sandoe-acoustics.co.uk>
On Oct 19, 2010, at 1:48 AM, IainS wrote:
> The changes need to be applied as one commit - hence one email.
> OK for trunk?
Ok.
If someone has a suggestion and direction for this part:
+ if (darwin_running_cxx)
+ TREE_LANG_FLAG_4 (constructor) = 1; /* TREE_HAS_CONSTRUCTOR */
I'd pre-approve a better direction. I've not thought about it much yet. I'm wondering if it makes sense to include the header that defines TREE_HAS_CONSTRUCTOR and then use that directly, or, if that should be pushed into the language independent parts of the compiler.... or something else entirely.