PATCH: Merge objc-improvements-branch to mainline

Ziemowit Laski zlaski@apple.com
Thu Sep 25 21:06:00 GMT 2003


On Thursday, Sep 25, 2003, at 08:35 US/Pacific, Kaelin Colclasure wrote:

> On Thursday, September 25, 2003, at 07:56  AM, Jason Merrill wrote:
>
>> On Thu, 25 Sep 2003 11:41:33 +0200, Dietmar Planitzer 
>> <dave.pl@ping.at> wrote:
>>
>>> On Thursday, September 25, 2003, at 01:55  AM, Nicolas Roard wrote:
>>> The current macro based exception implementation has at least two
>>> significant disadvantages: (1) it is unsafe and (2) very inefficient 
>>> on
>>> RISC CPUs.
>>
>> Unfortunately, it seems that the implementation being discussed only 
>> solves
>> #1.
>
> True -- but this is because Apple has a widely deployed installed base 
> of code which uses the "legacy" library-based exceptions. If they're 
> ever to change this, it has to happen incrementally. By making the 
> first generation of compiler-supported exceptions interoperable with 
> the library (while simultaneously changing the library macros to now 
> use the compiler support for new code), the necessary preconditions 
> for eventually replacing uses of the legacy library-based exceptions 
> are in place.

Yes, exactly. :-)

--Zem
--------------------------------------------------------------
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



More information about the Gcc-patches mailing list