Is it possible to use __attribute__((const) with inline functions? I tried that, but it seems that gcc ignores __attribute__((const) and looks at the contents of the function instead. I've tried the attached test app: With gcc-3.2.1 (gcc -O3), and "inlconst" was called 10 times, constfnc only once. -- Manfred