public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/90276] PSTL tests fail in Debug Mode
Date: Wed, 31 Jan 2024 12:25:55 +0000	[thread overview]
Message-ID: <bug-90276-4-PxazHsDCyL@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-90276-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Some of the tests FAIL for different reasons:

/home/jwakely/src/gcc/build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/stl_algo.h:2051:
In function:
    _FIter std::upper_bound(_FIter, _FIter, const _Tp&, _Compare) [with
    _FIter = gnu_debug::_Safe_iterator<gnu_cxx::normal_iterator<Num<float>*,
    vector<Num<float>, allocator<Num<float> > > >, debug::vector<Num<float>,
    allocator<Num<float> > >, random_access_iterator_tag>; _Tp = Num<float>;
    _Compare = main()::<lambda(Num<float>, Num<float>)>]

Error: elements in iterator range [first, last) are not partitioned by the
predicate __comp and value __val.

Objects involved in the operation:
    iterator "first" @ 0x7ffda0426810 {
      type = gnu_cxx::normal_iterator<Num<float>*, std::vector<Num<float>,
std::allocator<Num<float> > > > (mutable iterator);
      state = dereferenceable (start-of-sequence);
      references sequence with type 'std::debug::vector<Num<float>,
std::allocator<Num<float> > >' @ 0x7ffda0427730
    }
    iterator "last" @ 0x7ffda0426840 {
      type = gnu_cxx::normal_iterator<Num<float>*, std::vector<Num<float>,
std::allocator<Num<float> > > > (mutable iterator);
      state = dereferenceable;
      references sequence with type 'std::debug::vector<Num<float>,
std::allocator<Num<float> > >' @ 0x7ffda0427730
    }
FAIL: 25_algorithms/pstl/alg_sorting/partial_sort.cc  -std=gnu++17 execution
test

  parent reply	other threads:[~2024-01-31 12:25 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-90276-4@http.gcc.gnu.org/bugzilla/>
2024-01-24 18:13 ` fdumont at gcc dot gnu.org
2024-01-24 18:54 ` redi at gcc dot gnu.org
2024-01-31 10:14 ` redi at gcc dot gnu.org
2024-01-31 10:25 ` redi at gcc dot gnu.org
2024-01-31 12:25 ` redi at gcc dot gnu.org [this message]
2024-01-31 12:59 ` redi at gcc dot gnu.org
2024-01-31 13:11 ` redi at gcc dot gnu.org
2024-01-31 18:09 ` frs.dumont at gmail dot com
2024-02-01 10:04 ` redi at gcc dot gnu.org
2024-02-02 10:27 ` cvs-commit at gcc dot gnu.org
2024-02-02 10:27 ` cvs-commit at gcc dot gnu.org
2024-02-03 10:40 ` redi at gcc dot gnu.org
2024-02-08 15:50 ` cvs-commit at gcc dot gnu.org
2024-02-08 21:29 ` cvs-commit at gcc dot gnu.org
2024-06-20 15:39 ` redi at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-90276-4-PxazHsDCyL@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).