This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/16887] Bad assignment in "int i=1; i=i++;"
- From: "krs at home dot se" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Aug 2004 14:41:25 -0000
- Subject: [Bug c/16887] Bad assignment in "int i=1; i=i++;"
- References: <20040805140951.16887.krs@home.se>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From krs at home dot se 2004-08-05 14:41 -------
(In reply to comment #1)
> Not a bug. Think sequence points...
I'm not sure what you mean by that, but
I still think it is a bug, because operator ++ has higher precedence
over =.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16887