From mboxrd@z Thu Jan 1 00:00:00 1970 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 Message-id: <20010804223538.21969.qmail@sourceware.cygnus.com> X-SW-Source: 2001-08/msg00075.html List-Id: >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 for details. >How-To-Repeat: #include #include #include #include #include #include template bool is_less_than( const T &x, const T &y ) { return x < y; }; void main() { list 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); } >Fix: >Release-Note: >Audit-Trail: >Unformatted: