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]

Re: patch for 930513-1 on Darwin



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.


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