C5907: Addition replaced with shift

[DISABLE, INFORMATION , WARNING, ERROR]

Description

The Compiler has detected a addition with same left and right expression which is optimized and replaced with a shift operation. This message may be generated during tree optimizations (Option -Ont to switch it off).

Example
  i = j+j;  // optimized to i = j<<1;

  
Tips

If it is a programming error, correct the statement.