Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

g++ sparc64 internal error

From: Claes Nästén <pekdon(at)gmx.net>
Date: Tue Apr 01 2003 - 11:04:33 EST


Hi,
When I tried to compile pekwm ( CVS ) on my Sun Ultra10 ( 440Mhz / 1Gb Ram ) g++ kept on crashing. I figured what is was all about and the little test program
under this causes g++ to crash.

#include <list>

using std::list;

int
main(int argc, char *argv[])
{

        list<int> assign_to, assign_from;

        assign_from.push_back(6);

        assign_to.assign(assign_from.begin(), assign_from.end());

        return 0;
}

Do you need help?X

Saying:

/usr/include/g++/stl_list.h: In method `void list<int,allocator<int>
>::assign<_

List_iterator<int,int &,int *> >(_List_iterator<int,int &,int *>, _List_iterator <int,int &,int *>)':
list-compiler-bug.cc:12: instantiated from here
/usr/include/g++/stl_list.h:454: Internal compiler error in `emit_move_insn_1', at expr.c:2831

I tried to compile it both under OpenBSD 3.2 and a OpenBSD 3.3 snapshot from 25th March.

A similar error has been seen under NetBSD/sparc64 it seems, http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=16535 for details, hopefully it helps.

Happy bug-hunting! :)

-- 
Claes Nästén 
http://pekdon.net/

+++ GMX - Mail, Messaging & more  
http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
Received on Tue Apr 1 11:11:13 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:29:53 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library