This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How can I force an optimization level for a single file in aproject?


Serge Manigault <Serge.Manigault@ask.fr> writes:

> Hello,
> I didn't find any #pragma to force one optimization level in a file
> (using asm())
> when other files are optimized with other level -O0 for debug and -O2
> for final use.

There is no way to do this.

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]