Merge pull request #3182 from yebblies/issue12051

Issue 12051 - Wrong code with ?: resulting in char on x86-64
Merge pull request #3264 from 9rnsr/fix12158

[REG2.056] Issue 12158 - ICE with .init of nonexisting selective import
Merge pull request #3257 from WalterBright/fix12044

fix Issue 12044 - Invalid code gen causes segfault
Merge pull request #3266 from 9rnsr/fix12160

[REG2.065a] Issue 12160 - UDA related regressions