fix Issue 4414 - ICE(cgcs.c) Taking item of static array returned by function
Merge pull request #1858 from WalterBright/fix4414

fix Issue 4414 - ICE(cgcs.c) Taking item of static array returned by function