where did -minline-all-stringops go?

Jim Marshall jim.marshall@wbemsolutions.com
Fri Jun 8 17:05:00 GMT 2007


Rupert Wood wrote:
> Jim Marshall wrote:
> 
>> We compile our code on Linux using 3.2.2 on red hat 9. That version
>> of the compiler has the option "-minline-all-stringops".
> :
>> I'm just curious about this particular flag and why it was removed.
> 
> It wasn't - it's an ix86/x86_64 switch and not supported on sparc. e.g. from the GCC 4.2 manual:
> 
> http://gcc.gnu.org/onlinedocs/gcc-4.2.0/gcc/i386-and-x86_002d64-Options.html
> 
>     minline-all-stringops
>     By default GCC inlines string operations only when destination is
>     known to be aligned at least to 4 byte boundary. This enables more
>     inlining, increase code size, but may improve performance of code
>     that depends on fast memcpy, strlen and memset for short lengths.
> 
> In general '-m' switches are target-specific.
> 
> Rup.
> 
> 
> 
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email 
> ______________________________________________________________________
> 
Ahh - My bad. Obviously missed that in the doc.  Makes sense now, thanks!



More information about the Gcc-help mailing list