This is the mail archive of the 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: PATCH: Fix ObjC @"string" machinery

On 21 Jun 2005, at 20.51, Stan Shebs wrote:

Ziemowit Laski wrote:

On 21 Jun 2005, at 18.11, Andrew Pinski wrote:

Thoughts? I will wait until tomorrow morning (Pacific time) before committing,
should people have comments.

Yes this breaks non C based languages (Fortran and Java and Ada) by the use
of flag_next_runtime.

Right you are; what would be a politically correct way to attack this?

Language hook? Although it seems heavyweight for this small use, it's supposed to be the canonical way of insulating the backend from random frontend hackery and global variables and such, right?

Actually, how about introducing a targetm.objc structure for such things?
In addition to a 'targetm.objc.next_runtime' flag, we could then also
put in a 'targetm.objc.create_string' hook.

I'll wait for global write maintainers to opine on this general direction
before proceeding.

Ziemowit Laski                 1 Infinite Loop, MS 301-2K
Mac OS X Compiler Group        Cupertino, CA USA  95014-2083
Apple Computer, Inc.           +1.408.974.6229  Fax .5477

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