fix OR'ing flag
fix Issue 9722 - optimizer kills GOT to EBX load
Merge pull request #1748 from WalterBright/fix9722

fix Issue 9722 - optimizer kills GOT to EBX load
fix Issue 9712 - IFTI does not support deducing static array types from array literal arguments
fix Issue 9654 - Template function cannot take string by ref T[len]

That should work even if len is TemplateValueParameter.
Merge pull request #1749 from WalterBright/fixcod1

Fix or'ing flags to wrong instruction in cod1.c
Bug fix mentioned by Martin Nowak for issue 3652
Fix bugs around ref and CT-boundaries argument

Improve test for issue 9654 and 3652.
Merge pull request #1744 from 9rnsr/fix9712

Issue 9712 - IFTI does not support deducing static array types from array literal arguments