public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/111948] New: subrange modifies a const size object
@ 2023-10-24  5:51 hewillk at gmail dot com
  2023-10-24  5:55 ` [Bug libstdc++/111948] " hewillk at gmail dot com
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: hewillk at gmail dot com @ 2023-10-24  5:51 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 111948
           Summary: subrange modifies a const size object
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hewillk at gmail dot com
  Target Milestone: ---

https://godbolt.org/z/Gf4zWP3qT

testcase:

#include <ranges>

constexpr auto r = std::ranges::subrange(std::views::iota(0), 5);
static_assert(std::ranges::distance(r));

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

end of thread, other threads:[~2024-02-02 16:12 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-24  5:51 [Bug libstdc++/111948] New: subrange modifies a const size object hewillk at gmail dot com
2023-10-24  5:55 ` [Bug libstdc++/111948] " hewillk at gmail dot com
2023-10-24 16:15 ` redi at gcc dot gnu.org
2023-10-24 16:20 ` redi at gcc dot gnu.org
2023-10-24 16:30 ` redi at gcc dot gnu.org
2023-10-24 20:37 ` hewillk at gmail dot com
2023-11-08 11:35 ` de34 at live dot cn
2023-11-08 12:01 ` redi at gcc dot gnu.org
2023-11-23 14:40 ` redi at gcc dot gnu.org
2023-12-05 23:35 ` cvs-commit at gcc dot gnu.org
2023-12-06 14:44 ` cvs-commit at gcc dot gnu.org
2023-12-06 14:46 ` redi at gcc dot gnu.org
2024-02-02 16:12 ` jason 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).