------- Comment #8 from pinskia at gcc dot gnu dot org  2008-01-09 22:45 -------
(In reply to comment #7)
> Testing of stuff like kprobes in Linux would be a lot easier if nolinline
> worked reliably.  See this thread, for example:
> http://marc.info/?l=linux-kernel&m=119991179332571&w=2

This function is not being inlined, the call to it is just being removed as the
function is const in this case. As shown by the change there, you are changing
a pure/const function into a function which is neither anymore so we don't
remove calls to functions which are neither pure or const as that would cause
wrong code.


-- 


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

Reply via email to