https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63818
--- Comment #5 from Blaine Bell ---
> There is no sequence point between the pre-increments of i as common inside a
> function call is not a sequence point. So the order of which arguments are
> evaluated
> is not defined in the standard whic
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63818
--- Comment #4 from Andrew Pinski ---
With the line:
testouter(++i, ++i, ++i);
There is no sequence point between the pre-increments of i as common inside a
function call is not a sequence point. So the order of which arguments are
evaluated is
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63818
--- Comment #3 from Blaine Bell ---
thanks for the quick response, much appreciated.
To be honest, I really don't understand this post/FAQ. Looking at these
examples, I do not see any ambiguity. This problem seems to be the compiler
implementa
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63818
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63818
--- Comment #1 from Blaine Bell ---
This does not seem to have incorrect behavior using clang