patch for 930513-1 on Darwin
Dale Johannesen
dalej@apple.com
Thu May 31 18:04:00 GMT 2001
On Thursday, May 31, 2001, at 05:52 PM, Richard Henderson wrote:
> On Thu, May 31, 2001 at 04:59:37PM -0700, dalej@apple.com wrote:
>> On Darwin, the required syntax for a function name is different
>> when you call it and when you pass its address, so the inliner
>> needs to change things to compensate.
>
> Err... no it doesn't. You can get into the same issue without
> inlining if you CSE a function address into a call pattern.
Hmm, for some reason the function address doesn't seem to get put into
the call in this case, but you're right, obviously it should. I'll
check it out.
>> (perhaps by coincidence, no other machine I know of has
>> such a requirement)
>
> See how the IA-64 port uses SYMBOL_REF_FLAG. Now, the rs6000
> port already uses SYMBOL_REF_FLAG for something else, so you'll
> have to play games with ENCODE_SECTION_INFO instead, but that's
> really just a side issue.
Ok, thanks.
More information about the Gcc-patches
mailing list