Is there an attribute or pragma to disable optimization for a single function?

Mike Stump mrs@apple.com
Wed Feb 22 19:32:00 GMT 2006


On Feb 22, 2006, at 10:24 AM, Ian S. Nelson wrote:
> It looks like there are attributes to help optimize some functions
> further but are there any to not optimize at all?

In general, no; however, Dale did up a patch to control this sort of  
thing from #pragma if you want to dust it off and adapt it for your  
needs (and submit it).



More information about the Gcc mailing list