Hi, It looks that cs2007q3 produced non-working code for nested function. The pre-compiled sample from glibc test suite added. Base set of flags is the following: -march=armv7a -mcpu=cortex-a8 -mfpu=vfp -mfloat-abi=softfp -fno-omit-frame-pointer -fno-optimize-sibling-calls Only when optimization -O3 specified than produced binary executed with success, for O0 - O2 optimization it failed. With Best Wishes, Leonid
Attachment:
test-ffs.c.gz
Description: test-ffs.c.gz