[Bug c++/114357] C++: Support the no_destroy attribute

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Mar 15 21:59:09 GMT 2024


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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This sounds like a very dangerous attribute to have. It changes behavior and
even could cause memory leaks if abused.

Plus I think it is also designed to get around folks not programming well
defined C++ code.


More information about the Gcc-bugs mailing list