This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/37947] p->count += inc(p); // value of p->count is wrong, if inc(p) not only returns an int but also increases p->counter
- From: "micirio at gmx dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Oct 2008 01:29:50 -0000
- Subject: [Bug c/37947] p->count += inc(p); // value of p->count is wrong, if inc(p) not only returns an int but also increases p->counter
- References: <bug-37947-16874@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from micirio at gmx dot net 2008-10-29 01:29 -------
Created an attachment (id=16579)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16579&action=view)
test.i
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37947