[Bug c++/97388] By-value function parameter changes are rolled back prior to destructor call during constant evaluation

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 19 14:13:56 GMT 2020


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2020-10-19

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 49400
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49400&action=edit
gcc11-pr97388.patch

Untested fix.


More information about the Gcc-bugs mailing list