I recently made some runtime experients with and without IPO. Some parts of my code are stored in static libs during compilation. By reading the manual I have seen that the problem with -ipo and static libs can be solved with the additional option -ipo_obj. This works fine, linking with IPO works, I see the IPO messages coming up in my terminal window during the linking stage and the program runs.
I want to know if during the second IPO stage (linking the code) the members of these static libs receive the same optimisation (inlining, etc) like every normal source code file of my program. There are no IPO messages for the library members in the window like this one for a normal file:
IPO: using IR for ../conmain/neuanreg.o
Is it possible, that the lib members do not receive the required optimization?