This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Overriding optimization for individual portions of C code
- From: JCA <1 dot 41421 at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 18 Mar 2005 14:46:30 -0800
- Subject: Overriding optimization for individual portions of C code
- Reply-to: JCA <1 dot 41421 at gmail dot com>
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.