Getting the most from -qipa

It is not necessary to compile everything with -qipa, but try to apply it to as much of your program as possible. Here are some suggestions:

Note:
While IPA's interprocedural optimizations can significantly improve performance of a program, they can also cause previously incorrect but functioning programs to fail. Some programming practices that can work by accident without aggressive optimization but are exposed with IPA include: