fix dvpl 4985: make sure the compiler optimization will not make the str...

...eam closed due to no reference