[Bug c++/104055] Temporary with consteval constructor does not cause the deconstructor to be called

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jan 17 11:03:31 GMT 2022


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 52211
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52211&action=edit
gcc12-pr104055.patch

This untested patch fixes it, but dunno what the right fix is...


More information about the Gcc-bugs mailing list