This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/86272] [6/7/8/9 Regression] __gnu_debug::string uses undefined __glibcxx_check_insert_range2
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 22 Jun 2018 09:31:51 +0000
- Subject: [Bug libstdc++/86272] [6/7/8/9 Regression] __gnu_debug::string uses undefined __glibcxx_check_insert_range2
- Auto-submitted: auto-generated
- References: <bug-86272-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86272
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Debug Mode does not use __gnu_debug::string it just disables the explicit
instantation declarations in <string>, so that assertions in std::basic_string
are turned on.
To test __gnu_debug::string we really need a completely separate set of tests
that include <debug/string> and use it explicitly as __gnu_debug::string. Given
that it's probably never used by anybody (or they'd have noticed this bug)
doing that is not a priority.