public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/60519] New: Debug mode should check comparators for irreflexivity
@ 2014-03-13 20:03 redi at gcc dot gnu.org
  2014-10-13 15:02 ` [Bug libstdc++/60519] " redi at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2014-03-13 20:03 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60519

            Bug ID: 60519
           Summary: Debug mode should check comparators for irreflexivity
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: redi at gcc dot gnu.org

We could avoid a number of INVALID bug reports (e.g. PR59391) if Debug Mode did
this in <algorithm>

#ifdef _GLIBCXX_DEBUG
if (first < last)
    __glibcxx_assert( !cmp(*first, *first) );
#endif


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

end of thread, other threads:[~2015-08-25 20:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-13 20:03 [Bug libstdc++/60519] New: Debug mode should check comparators for irreflexivity redi at gcc dot gnu.org
2014-10-13 15:02 ` [Bug libstdc++/60519] " redi at gcc dot gnu.org
2015-04-11 19:09 ` redi at gcc dot gnu.org
2015-04-12 19:57 ` fdumont at gcc dot gnu.org
2015-04-12 20:59 ` redi at gcc dot gnu.org
2015-08-25 20:27 ` fdumont 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).