[kaffe] Re: inlining sysdepCallMethod for m68k-linux

Dalibor Topic robilad at kaffe.org
Thu Apr 22 10:55:03 PDT 2004

Kiyo Inaba wrote:
> Hi all,
> I made small test program for inline with alloca (list at the bottom),
> and try to compile it on several platforms including sparc, i686 etc,
> but all warn 'function using alloca cannot be inline'.

Yes, even if you use __builtin_alloca on i386, gcc 2.9x seems to warn 
about alloca. Whereas gcc 3.2 and 3.3.3 has no problems inlining the 
code, judging by the warnings.

> So I propose to make sysdepCallMethod for m68k back with macro version.

I assume that sysdepCallMethod needs to be inlined for some reason, 
right? If that's the case, then yes, it should be reverted to a macro on 
the arches that use dynamic array allocation and have a gcc 2.9x.

dalibor topic

More information about the kaffe mailing list