public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/103340] New: constexpr std::string is incompatible with --enable-libstdcxx-allocator
@ 2021-11-20 12:18 redi at gcc dot gnu.org
  2021-11-20 12:19 ` [Bug libstdc++/103340] [12 Regression] " redi at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: redi at gcc dot gnu.org @ 2021-11-20 12:18 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103340

            Bug ID: 103340
           Summary: constexpr std::string is incompatible with
                    --enable-libstdcxx-allocator
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: redi at gcc dot gnu.org
  Target Milestone: ---

Only __gnu_cxx::new_allocator is usable in constant expressions. We need to
either disable constexpr std::string when other allocator base classes are
used, or make the changes needed to all/some of the allocator base classes to
e.g. add constexpr destructors.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-12-02 17:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-20 12:18 [Bug libstdc++/103340] New: constexpr std::string is incompatible with --enable-libstdcxx-allocator redi at gcc dot gnu.org
2021-11-20 12:19 ` [Bug libstdc++/103340] [12 Regression] " redi at gcc dot gnu.org
2021-11-20 16:52 ` redi at gcc dot gnu.org
2021-11-24  9:33 ` redi at gcc dot gnu.org
2021-11-24 10:00 ` redi at gcc dot gnu.org
2021-12-02 16:53 ` cvs-commit at gcc dot gnu.org
2021-12-02 17:10 ` redi at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).