[PATCH] Hot/cold partitioning fixes

Caroline Tice ctice@apple.com
Wed Mar 23 18:20:00 GMT 2005


On Mar 23, 2005, at 9:57 AM, Richard Henderson wrote:

> On Tue, Mar 22, 2005 at 10:36:03AM -0800, Caroline Tice wrote:
>> + 	  /* The function starts in the cold partition, so update the
>> + 	     DECL_SECTION_NAME to reflect this.  */
>> + 	  DECL_SECTION_NAME (decl) = build_string
>
> Changing DECL_SECTION_NAME this late can break things.
>
> Previously emitted function calls can have already assumed
> that the caller and callee are in the same section.

Okay, thank you for pointing this out; I will fix this and try to get an
updated patch out to the list later today.

-- Caroline
ctice@apple.com



More information about the Gcc-patches mailing list