[Bug middle-end/28205] Request an option to make -finstrument-functions not apply to inlined function calls

joev dot dubach at nuance dot com gcc-bugzilla@gcc.gnu.org
Mon Jul 3 18:01:00 GMT 2006



------- Comment #1 from joev dot dubach at nuance dot com  2006-07-03 18:01 -------
(In reply to comment #0)
> The best we can do is say
> "-fno-inline" to turn off inlining altogether, and accept a slower and less
> accurate profiler.

This is problematic as well, due to the existence of
__attribute__((always_inline)), which causes functions to be inlined efen when
-fno-inline is specified.  In particular, my code calls functions defined by
the system header emmintrin.h as always inlined.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28205



More information about the Gcc-bugs mailing list