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