[Bug c++/94470] [8/9 Regression] Constexpr variable initialization with self-modifying constructor incorrectly rejected since r7-6728

ppalka at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Apr 13 21:06:24 GMT 2020


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

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[8/9/10 Regression]         |[8/9 Regression] Constexpr
                   |Constexpr variable          |variable initialization
                   |initialization with         |with self-modifying
                   |self-modifying constructor  |constructor incorrectly
                   |incorrectly rejected since  |rejected since r7-6728
                   |r7-6728                     |

--- Comment #2 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Fixed for GCC 10 so far.


More information about the Gcc-bugs mailing list