On Sun, Apr 03, 2005 at 10:42:41PM -0500, James Bottomley wrote: > I just got around to checking this on parisc, and I'm afraid we have a > toolchain cockup: Our gcc can't optimise the sizeof() if the user is an > inline function. It can, however if the functions are made #defines > instead. > > Would the attached be OK with everyone? It works fine for us.
This started happening occasionally with gcc 3.4 so it's not just PARISC specific - just rather hard to hit: http://www.linux-mips.org/archives/linux-mips/2004-10/msg00039.html Ralf
