just installed gcc and tested it. The root of cause is GCC compiler bug.It produces garbage code. I will implement workaround for this GCC compiler bug.