gcc 3.4.6 on PPC why doing function inline with -O2?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I came across a problem while using gcc3.4.6 on PPC440. It turns out
with -O2 flag the compiler does inline function expanding. I tested with
3.2 version it doesn't do it in O2. The 3.4.6 manual says that only with
-O3 the compiler can do this inline function optimization. Even I used
-fno-inline-functions it doesn't work, but used -fno-inline does prevent
inline functions.

Is it a bug in 3.4.6?

BTW, what's the difference between -fno-inline and
-fno-inline-functions?

Thanks
Ming


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux