https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90904
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2019-06-18
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I ran into a similar issue while trying
hash_map <key, auto_vec<value, 2> >
where copying fails to adjust the pointer to the in-place storage giving
even more obscure errors.
And the conclusion was that we want move semantics here but that's not possible
with the current constraints on C++ we can use.
Disabling the copy ctor is probably most sensible at the moment but the only
C++04 way is to have it result in a link error (or maybe some other obscure
failue?).