User account creation filtered due to spam.
Reading specs from /opt/GCC341/lib/gcc/sparc-sun-solaris2.6/3.4.1/specs
Configured with: ../gcc-3.4.1/configure --prefix=/opt/GCC341 --with-as=/usr/ccs/bin/as --with-
ld=/usr/ccs/bin/ld --disable-libgcj --enable-languages=c,c++,objc
Thread model: posix
gcc version 3.4.1
SunOS 5.6 Generic_105181-11
The not normally used expression:
will yield i==1, but should yield i==2.
This does not occur in GCC v.2.8.1 nor in Microsoft VC++.
Could be a problem in another assignment situations
Not a bug. Think sequence points...
(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
No, it's not a bug. You can't modify a variable twice in one
expression. That's what you're trying to do, though, with the ++
and the assignment.
Take a look at any of PR 11363, PR 11751, PR 12552, PR 13403,
PR 14417, PR 15012, PR 15103.
Reopen to mark as a duplicate of...
*** This bug has been marked as a duplicate of 11751 ***