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: [Patch, objc] maintenance, make Obj{C,C++} LTO-friendly.


On Jul 9, 2010, at 5:25 PM, IainS wrote:
> On 9 Jul 2010, at 06:59, Mike Stump wrote:
>> On Jul 2, 2010, at 12:19 PM, IainS wrote:
>>> This patch is intended to maintain the 'status-quo' in the presence of LTO.
>> 
>>> OK for trunk?
>> 
>> [ after more thought and some more offline email... ]
>> 
>> Ok with the:
> 
> Well, I found the cause of our section hassles and fixed it as obvious (I hope that doesn't exceed the approval).

Yeah, I do like this version better...  If we wanted to bullet proof this, we could assert that bss_initializer_p isn't true on the things that can't tolerate switching sections.  For those that can be zero, we'd have to select the section earlier as you had in the previous version.  I'd like to think the code cleverly avoids those issue, but not certain.

As always, thanks for working on this.


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