Fix Issue 5943 - Power expression optimisation: 2^^unsigned ==> 1<<unsigned
Merge pull request #1498 from yebblies/issue5943

Fix Issue 5943 - Power expression optimisation: 2^^unsigned ==> 1<<unsigned