https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91314
Harald van Dijk <harald at gigawatt dot nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |harald at gigawatt dot nl --- Comment #2 from Harald van Dijk <harald at gigawatt dot nl> --- (In reply to Keith Thompson from comment #0) > I've reproduced this problem with all versions of g++ I have access > to, from 4.1.2 to 10.0.0 20190718 (experimental). GCC has generated a warning for this since at least GCC 2, but up to 3.3, the warning was warning: value computed is not used which is correct. In GCC 3.4, the warning changed to warning: right-hand operand of comma has no effect