From: Joe P. <jo...@po...> - 2005-09-13 16:02:12
|
I tried nesc1.1.2b and 1.2beta1. nesC is doing the correct thing (it doesn't put the 'inline' keyword before __attribute ((noinline))) but the default inlining of msp430-gcc with -O and -Os inlines too much. I found that by using a -finline-limit=3D1000 produces smaller code than the default settings. I still can't explicitly forbid inlining in a function with msp430-gcc though. sigh. -Joe On 9/13/05, Klaus S. Madsen <ti...@hj...> wrote: > On Mon, Sep 12, 2005 at 12:42:13 -0700, Joe Polastre wrote: > > __attribute__ ((noinline)) doesn't have any affect on my function that > > is being inlined. > Which version of Nesc are you using? >=20 > Version 1.1.2 of Nesc has a patch I wrote to allow > __attribute__((noinline)) to work: >=20 > http://www.tinyos.net/scoop/story/2004/8/4/101340/2166 >=20 > -- > Best regards, > Klaus S. Madsen > Dept. of Computer Science, University of Copenhagen > _______________________________________________ > Tinyos-devel mailing list > Tinyos-devel@Millennium.Berkeley.EDU > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-deve= l > |