https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67809
--- Comment #7 from Gareth Lloyd <[email protected]> --- To give extra context, this optimization is desirable when using pmr::monotonic_buffer_resource. After de-virtualization and inlining it is likely for node based containers with trivially destructible internal types will end up with empty loops in their destructors.
