--- Leon@... wrote:
> -O0 will create no optimasation. However, if i will not specify any
> optimasation in the first place (ie no -O? options are passed) - what will
> the default one be?
Here is what the gcc.info file says:
Without `-O', the compiler's goal is to reduce the cost of
compilation and to make debugging produce the expected results.
Statements are independent: if you stop the program with a
breakpoint between statements, you can then assign a new value to
any variable or change the program counter to any other statement
in the function and get exactly the results you would expect from
the source code.
Without `-O', the compiler only allocates variables declared
`register' in registers. The resulting compiled code is a little
worse than produced by PCC without `-O'.
--- <http://earniesystems.safeshopper.com> ---
--- Cygwin: POSIX on Windows <http://gw32.freeyellow.com/> ---
--- Minimalist GNU for Windows <http://www.mingw.org/> ---
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
Get latest updates about Open Source Projects, Conferences and News.