fix Issue 11284 - add -allinst compiler switch
Merge pull request #2680 from WalterBright/fix11284

fix Issue 11284 - add -allinst compiler switch