Solved side-effect issue

See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57813