[Bug c/11751] wrong evaluation order of an expression

2007-08-10 Thread gjasny at web dot de
--- Comment #78 from gjasny at web dot de 2007-08-10 12:02 --- *** Bug 33043 has been marked as a duplicate of this bug. *** -- gjasny at web dot de changed: What|Removed |Added

[Bug c/33043] Miscompiled statement a[i] = (a[i]++) % x;

2007-08-10 Thread gjasny at web dot de
--- Comment #2 from gjasny at web dot de 2007-08-10 12:02 --- I've found: http://c-faq.com/expr/seqpoints.html *** This bug has been marked as a duplicate of 11751 *** -- gjasny at web dot de changed: What|Removed |

[Bug c/33043] Miscompiled statement a[i] = (a[i]++) % x;

2007-08-10 Thread gjasny at web dot de
--- Comment #1 from gjasny at web dot de 2007-08-10 10:51 --- Created an attachment (id=14049) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14049&action=view) Simple testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33043

[Bug c/33043] New: Miscompiled statement a[i] = (a[i]++) % x;

2007-08-10 Thread gjasny at web dot de
ty: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gjasny at web dot de GCC build triplet: i486-pc-linux-gnu GCC host triplet: i486-pc-linux-gnu GCC target triplet: i486-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33043

[Bug c/30343] New: False positive: allocating zero-element array

2007-01-01 Thread gjasny at web dot de
iority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gjasny at web dot de GCC build triplet: gcc version 4.2.0 20061217 (prerelease) (Debian 4.2- 20061217-1) GCC host triplet: i486-linux-gnu GCC target triplet: i486-linux-