fix Issue 12774 - ICE(optimize.c) Newing struct containing union causes segfault
Merge pull request #3566 from 9rnsr/fix12774

[REG2.066a] Issue 12774 - ICE(optimize.c) Newing struct containing union causes segfault