libstdc++/553
pme@gcc.gnu.org
pme@gcc.gnu.org
Sun Apr 1 00:00:00 GMT 2001
The following reply was made to PR libstdc++/553; it has been noted by GNATS.
From: pme@gcc.gnu.org
To: agg1@cs.wustl.edu, gcc-gnats@gcc.gnu.org, pme@gcc.gnu.org
Cc:
Subject: Re: libstdc++/553
Date: 30 Jan 2001 23:19:11 -0000
Synopsis: Call to sort () results in segfault
State-Changed-From-To: analyzed->closed
State-Changed-By: pme
State-Changed-When: Tue Jan 30 15:19:11 2001
State-Changed-Why:
Not a library bug. Private communication with the
submitter confirms that using >= instead of > in the
comparison functor (and thus failing to meet the strict
weak ordering requirement) causes the problem. Although a
SEGV (!) still seems harsh, there's nothing the library can
do. Even the concept_checks mechanism can't catch this
sort of thing.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=553&database=gcc
More information about the Gcc-prs
mailing list