This is the mail archive of the gcc-help@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: Weird optimization bug...?


On Sun, 2004-06-06 at 05:09, Adrian Bentley wrote:

> Is there any pragma or the like to disable gcc optimizations around a
> certain part of a file?  Trying to get around this is taking way too
> long :).

Create a separate file with that specific subroutine in it and compile
without optimisations.

The simple solution often eludes us :-)

-- 
Thanks
KenF
OpenOffice.org developer


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