Would you please report this as a bug with a selfcontained example?
In my opinion, this is not a bug. You can't force the compiler to optimize everywhere and always, something must remain for the developer.
You should leave that to e.g. Florian to decide. After all using inline the compiler might discover better optimization opportunities, but if something like this is stopping it from doing better, then what use does it have? E.g. if the inlined function does a simple
Inc(Value) then it would be worse than without the inlining.