fix Issue 6962 - Wrong Code With Scope Exit and Array Parameter, only with -O
Merge pull request #1586 from WalterBright/b46

fix Issue 6962 - Wrong Code With Scope Exit and Array Parameter, only wi...