On 14/12/14 15:23 -0800, Tim Shen wrote:
Bootstraped and tested :)I'm not sure if it's safe to directly backport it to 4.9, since one inline function (_M_normalize_result) is added; but at least we can manually inline them by copy & paste.
It's OK for trunk and 4.9, without changes. Code compiled against 4.9.2 that inlines some of the regex code won't be affected by the added function. Code that doesn't inline the code will start calling the new function. So it won't hurt and might help.