>>>>> On Thu, 18 Sep 2003 12:17:54 +0200 (MET DST), "Maciej W. Rozycki"
>>>>> <firstname.lastname@example.org> said:
macro> I wanted to avoid that as the resulting code would be ugly. I
macro> guess there is no other choice, although I think that's a bug
macro> in gcc.
I have no idea that is a gcc bug, but I think align_mod() inline
function is not so beautiful because it can not be compiled anyway if
non-constant value was passed.
macro> Can you quote the exact command line used for building the
mips64el-linux-gcc -D__KERNEL__ -I/home/anemo/work/linux/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -I /home/anemo/work/linux/include/asm/gcc -mabi=64 -G 0
-mno-abicalls -fno-pic -Wa,--trap -pipe -march=r4600 -nostdinc -iwithprefix
include -DKBUILD_BASENAME=cpu_probe -c -o cpu-probe.o cpu-probe.c
I also tried with -finline-limit=100000 but no luck.
Does this help?