Re: Overriding optimization for individual portions of C code

2005-03-18 Thread Joe Buck
On Fri, Mar 18, 2005 at 02:46:30PM -0800, JCA wrote: >Is it possible with gcc to specify that a portion of code should be > compiled without any optimizations, overriding the -O option given in > the command line? The solution consisting of isolating that portion of > code, and placing it in a

Overriding optimization for individual portions of C code

2005-03-18 Thread JCA
Is it possible with gcc to specify that a portion of code should be compiled without any optimizations, overriding the -O option given in the command line? The solution consisting of isolating that portion of code, and placing it in a separate file is not what I am looking for.