[Bug c++/94414] only `--` gives constexpr

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 31 07:43:53 GMT 2020


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
You are not actually constexpr evaluating the ++/--, instead you are seeing
missed optimizations for one case(?)


More information about the Gcc-bugs mailing list