Pragma support for function-level optimization
Pragma support for function-level optimization
- Subject: Pragma support for function-level optimization
- From: Petteri Kamppuri <email@hidden>
- Date: Wed, 6 Jul 2005 15:41:01 +0300
Hi!
I'm really sorry if this has been answered on this list or this
documented clearly somewhere. I couldn't find the answer though I
looked for it quite a some time.
The question is, how do I use the new #pragma support for function-
level optimization mentioned in http://developer.apple.com/tools/
xcode/update.html.
I searched the net, Xcode documentation, GCC documentation at
apple.com and fsf.org, but I couldn't find the answer.
I need this pragma because gcc 4.0 seems to generate invalid code
with no optimizations (-O0), and I'd like narrow down the issue and
not use any optimizations globally. This is obviously an issue only
with debug builds, not release builds which are all optimized using -Os.
Thanks for any answers.
Regards,
Petteri Kamppuri
email@hidden
Senior Cocoa Engineer, MK&C
https://www.knoxformac.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden