https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11751
--- Comment #90 from Emil Obermayr ---
Dear Oleg,
You have three printf, but only 2 outputs.
You don't tell us, what the right output should be, and why.
Your tests are highly dependent on the order of evaluation. So the only
use is to detect
--- Comment #61 from nobs at tigress dot com 2006-03-11 16:10 ---
referring to duplicate 26642:
The behavior changed between gcc3 and gcc4 and the comment is "there is no
reason the result should not change"?
Sorry, but I think that's a really bad way to handle things
<< endl;
return (0);
}
--
Summary: order of multiple assignments to array-values handled
differently from gcc 3.3.5
Product: gcc
Version: 4.0.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: nobs at tigress dot com
GCC build triplet: x86
GCC host triplet: x86
GCC target triplet: x86
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26642