[Bug c++/91369] Implement P0784R7: constexpr new
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Sep 26 19:31:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91369
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #46946|0 |1
is obsolete| |
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 46956
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46956&action=edit
gcc10-pr91369.patch
Updated patch.
This patch implements the state if C++ drops the note that trivial destructors
are constexpr destructors. If on the core reflector you agree on something
else, please let me know and I'll change it.
Other than that, I need to finish up the cookie_size support for array new
(trying to represent that heap object as record with two fields, sizetype array
covering cookie and class_type array covering the rest, but seems indirect ref
folding isn't still happy about that, otherwise I'm out of ideas what else to
test.
More information about the Gcc-bugs
mailing list