[Bug c++/83028] Incorrect -Wsequence-point warning in correct C++17 code with new evaluation order rules

rafael at espindo dot la gcc-bugzilla@gcc.gnu.org
Fri May 15 15:36:04 GMT 2020


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

Rafael Avila de Espindola <rafael at espindo dot la> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rafael at espindo dot la

--- Comment #3 from Rafael Avila de Espindola <rafael at espindo dot la> ---
We just hit this and incorrectly assumed our codebase had a bug. It would be
really nice for this warning to take -std=XX into consideration and not warn
for code that is now valid.


More information about the Gcc-bugs mailing list