Don't inline functions with RULES too early

Authored by simonpj on Jul 30 2018, 7:43 AM.

Description

Don't inline functions with RULES too early

Trac Trac #15445 showed that a function with an automatically
generated specialisation RULE coudl be inlined before the
RULE had a chance to fire.

This patch attaches a NOINLINE[2] activation to the Id, to
stop this happening.

bgamari raised a concern with this commit.Aug 1 2018, 5:12 AM
bgamari added a subscriber: bgamari.

While the CI-jury is still out, I suspect this patch regressed TEST="T12425 T9872a T9872b T9872c T9872d".

This commit now has outstanding concerns.Aug 1 2018, 5:12 AM
bgamari accepted this commit.Aug 1 2018, 5:55 AM

I have reverted this for now. See the commit message of the reverting commit for details.

All concerns with this commit have now been addressed.Aug 1 2018, 5:55 AM