https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83226
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Fri Dec 1 17:12:04 2017 New Revision: 255324 URL: https://gcc.gnu.org/viewcvs?rev=255324&root=gcc&view=rev Log: PR libstdc++/83226 avoid forming pointer-to-reference type Backport from mainline 2017-11-30 Jonathan Wakely <jwak...@redhat.com> PR libstdc++/83226 * include/bits/node_handle.h (_Node_handle::__pointer): Avoid forming pointer-to-reference types. * testsuite/23_containers/map/modifiers/insert/83226.cc: New test. Added: branches/gcc-7-branch/libstdc++-v3/testsuite/23_containers/map/modifiers/insert/83226.cc Modified: branches/gcc-7-branch/libstdc++-v3/ChangeLog branches/gcc-7-branch/libstdc++-v3/include/bits/node_handle.h