public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/3942: Compiler error 980715
@ 2001-08-04 15:36 term
0 siblings, 0 replies; 2+ messages in thread
From: term @ 2001-08-04 15:36 UTC (permalink / raw)
To: gcc-gnats
>Number: 3942
>Category: c++
>Synopsis: Compiler error 980715
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: accepts-illegal
>Submitter-Id: net
>Arrival-Date: Sat Aug 04 15:36:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: term@rmci.net
>Release: unknown-1.0
>Organization:
>Environment:
Linux Redhat 6.2.
eading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
>Description:
a.cpp: In function `int main(...)':
a.cpp:17: Internal compiler error 980715.
a.cpp:17: Please submit a full bug report to `egcs-bugs@egcs.cygnus.com'.
a.cpp:17: See <URL: http://egcs.cygnus.com/faq.html#bugreport > for details.
>How-To-Repeat:
#include <stdio.h>
#include <iterator>
#include <algorithm>
#include <functional>
#include <set>
#include <list>
template <class T>
bool is_less_than( const T &x, const T &y ) { return x < y; };
void main() {
list<int> x;
x.insert(x.begin(),1);
x.insert(x.begin(),4);
x.insert(x.begin(),2);
x.insert(x.begin(),8);
sort(x.begin(),x.end(),is_less_than<int>);
}
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: c++/3942: Compiler error 980715
@ 2001-08-05 1:28 lerdsuwa
0 siblings, 0 replies; 2+ messages in thread
From: lerdsuwa @ 2001-08-05 1:28 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, term
Synopsis: Compiler error 980715
State-Changed-From-To: open->closed
State-Changed-By: lerdsuwa
State-Changed-When: Sun Aug 5 01:28:00 2001
State-Changed-Why:
Fixed in gcc 3.0. Correct error messages, instead of
internal compiler error, are reported.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3942&database=gcc
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-08-05 1:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-04 15:36 c++/3942: Compiler error 980715 term
2001-08-05 1:28 lerdsuwa
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).