https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87275
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu.org
--- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
The following doesn't warn either:
int f2(bool b) {
int x = 0;
int& r = x;
return (x++) + (r++);
}
It seems the warning cannot see through references.
