https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64870
Marc Glisse <glisse at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|major |normal
--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> ---
-Wsequence-point fails to warn, but that's still a bug in your program, there
is no reason to evaluate setval before reading val and not after. Split your
cout lines in two.
