[Bug c/63818] unexpected/incorrect behavior

2014-11-11 Thread blaine at blainebell dot org
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

[Bug c/63818] unexpected/incorrect behavior

2014-11-11 Thread pinskia at gcc dot gnu.org
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

[Bug c/63818] unexpected/incorrect behavior

2014-11-11 Thread blaine at blainebell dot org
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

[Bug c/63818] unexpected/incorrect behavior

2014-11-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63818 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c/63818] unexpected/incorrect behavior

2014-11-11 Thread blaine at blainebell dot org
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