public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: term@rmci.net
To: gcc-gnats@gcc.gnu.org
Subject: c++/3942: Compiler error 980715
Date: Sat, 04 Aug 2001 15:36:00 -0000	[thread overview]
Message-ID: <20010804223538.21969.qmail@sourceware.cygnus.com> (raw)

>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:


             reply	other threads:[~2001-08-04 15:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-04 15:36 term [this message]
2001-08-05  1:28 lerdsuwa

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=20010804223538.21969.qmail@sourceware.cygnus.com \
    --to=term@rmci.net \
    --cc=gcc-gnats@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).