Fixed shadow propagation with shallow copies and added casts
Fixed shadow propagation with shallow copies and added casts

mpflanzer/Oclgrind,surround-io/oclgrind,mpflanzer/Oclgrind,surround-io/oclgrind,surround-io/oclgrind,mpflanzer/Oclgrind,surround-io/oclgrind,mpflanzer/Oclgrind