[Bug c++/70744] preincrements possibly double-evaluated in GNU ternaries

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Apr 22 10:27:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70744

--- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
You're right.  Of course - in C++, ++i and --i are considered lvalues, while
i++ and i-- are not.


More information about the Gcc-bugs mailing list