Re: Switching from -O3 to -Os causes my code to start crashing
Re: Switching from -O3 to -Os causes my code to start crashing
- Subject: Re: Switching from -O3 to -Os causes my code to start crashing
- From: Chris Espinosa <email@hidden>
- Date: Wed, 17 May 2006 20:21:32 -0700
On May 17, 2006, at 5:36 PM, Mark Alldritt wrote: When I change the optimizer level from -O3 (fastest) to -Os (fastest, smallest), one part of my code begins crashing. Can someone point me to a place where the differences between -O3 and -Os are explained in detail so that I can figure out what my code is doing that is tripping up the GCC optimizer?
I googled "site:developer.apple.com O3" and got:
-O3 turns on all optimizations specified by -O2 and also turns on the -finline-functions and -frename-registers options.
-Os enables all -O2 optimizations that do not typically increase code size. It also performs further optimizations designed to reduce code size. -Os disables the following optimization flags: -falign-functions -falign-jumps -falign-loops -falign-labels -freorder-blocks -fprefetch-loop-arrays
Chris |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden