[Bug libstdc++/70940] pmr::resource_adaptor requires optional allocator requirements and incorrectly aligns returned pointers.
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed May 4 12:11:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70940
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org
Target Milestone|--- |6.2
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Eric Fiselier from comment #0)
> resource_adapter incorrectly requires that the Allocator provide:
> * A pointer typedef.
> * A default constructor.
Those errors are fixed on trunk now.
(In reply to Jonathan Wakely from comment #1)
> Also:
>
> __null_memory_resource::do_is_equal() is missing a return statement, so
> returns garbage off the stack.
So is this.
The rest isn't yet.
More information about the Gcc-bugs
mailing list