------- Comment #2 from alexey at cs dot sunysb dot edu 2006-04-14 02:46
-------
> It is undefined on which function call is done in what order
It does not matter in this example.
> and also were the
> dereferencing is done, before or after the next function call.
It does not matter either. The evaluation of a function argument is an atomic
procedure. If it starts it should generate a result. Isn't it strange if the
compiler evaluates a little bit of the first argument, then a little bit of the
second argument, then a little bit of the third argument, then goes back to the
first and completes the evaluation?
--
alexey at cs dot sunysb dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|DUPLICATE |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27153