Overriding optimization for individual portions of C code
Joe Buck
Joe.Buck@synopsys.COM
Sat Mar 19 00:16:00 GMT 2005
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 separate file is not what I am looking for.
Sorry it's not what you're looking for, but using a separate file is
currently the only option.
More information about the Gcc
mailing list