What do -ip, -ipo, and -ip_no_inlining do?

What do -ip, -ipo, and -ip_no_inlining do?

Hi! I'm finding the documentation of the -ip, -ipo, and -ip_no_inlining compile options a bit unclear.

Can anyone tellif -ipoimplies -ip? Is the -ip_no_inlining option just a way to override and disable -ip? Or can it be used to disable a part of -ipo?


3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

-ipo does imply -ip; -ip means inter-procedural optimization within a file, but -ipo means within the application/library.
-ip_no_inlining disables the full/partial inlining of -ip and -ipo. -ip and -ipo provide more than just in-lining. So it disables only part of -ip and -ipo.

Does this help?

Yes, thank you very much! Embarrased to say, I actually overlooked that -ip_no_inlining disables only inline expansions.


Leave a Comment

Please sign in to add a comment. Not a member? Join today