Non-lvalue can be assigned after simplifying the shift operation
huangguiyang opened this issue · comments
(i >> 0) = j;
After the simplify
at simp.c
, the expression 'i >> 0' will be simplified to 'i' which is an INDIR
tree, thus the assignment check will be OK.
The same problem can be found in other identity simplification.