[Bug c++/98893] start_cleanup_cnt needs modularizing

2021-02-01 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98893

--- Comment #1 from Nathan Sidwell  ---
I think the right direction is to use lambdas.  That would make the cleanup
function have a scope attached or related to the variable being dtord.  Howevr,
we cannot use actual lambdas, as that'd disturb the ABI-specified mangling of
function-scope lambdas.  We'd need some kind of separate numbering or naming
(perhaps from the variable in question?)

[Bug c++/98893] start_cleanup_cnt needs modularizing

2021-01-29 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98893

Nathan Sidwell  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |nathan at gcc dot 
gnu.org
   Last reconfirmed||2021-01-29