Not assign a variable to itself
Add regression test case
Add regression test files
Merge master
Merge pull request #2034 from ke-yu/fix_magn3917

Not assign a variable to itself