This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC-4.1.0 size optimization bug for MIPS architecture...


"Steven J. Hill" <sjhill@realitydiluted.com> writes:

> I have discovered what appears to be an optimization bug with '-Os'
> in GCC-4.1.0 for the MIPS architecture. It appears that functions
> which are declared as 'inline' are being ignored and instead turned
> into to function calls which is breaking the dynamic linker loader
> for uClibc on MIPS.

You should mark the functions that absolutely need to be inlined
with __attribute__((always_inline)). Or just 
-Dinline="__attribute__((always_inline))" 

-Andi


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]