------- Comment #4 from pinskia at gcc dot gnu dot org 2007-07-09 08:34 ------- >This should be warned by -Wsequence-points. It is kinda of hard to know if the two function calls will be invoked and modify the global state. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12411