Fixed bug in compiler, due to erroneous assumption of situation
in which a register value is not changed. Fixed so that a temporary register is allocated and used in these situations.
Authored by: dwarren 2013-10-08
Parent: [r7810]
Child: [r7812]