[Bug c/39121] strange behavior in chained operations

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jun 25 20:08:00 GMT 2015


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

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu.org

--- Comment #8 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to joe.carnuccio from comment #7)

> *a ^= *b ^= *a ^= *b should work the same way, but it does not (unless you
> compile with -Os).

https://gcc.gnu.org/wiki/FAQ#undefinedbut


More information about the Gcc-bugs mailing list