[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc-bugs
Subject: INTERNAL COMPILER ERROR IN GCC-2.95-release
From: Leon Bottou <leonb () research ! att ! com>
Date: 1999-08-06 13:26:39
[Download RAW message or body]
SYMPTOM:
--------
% g++ -c bug.cpp
bug.cpp:37: Internal compiler error.
bug.cpp:37: Please submit a full bug report.
bug.cpp:37: See <URL:http://egcs.cygnus.com/faq.html#bugreport> for instructions
GCC VERSION
-----------
% g++ -v
Reading specs from
/home/snwiz/M-SGI/egcs32/lib/gcc-lib/mips-sgi-irix5.3/2.95/specs
gcc version 2.95 19990728 (release)
% uname -a
IRIX odeux 6.5 01221553 IP32
% cat ~snwiz/packages/gcc/egcs/COMPILE/SGI32/config.status
#!/bin/sh
# This file was generated automatically by configure. Do not edit.
# This directory was configured as follows:
../../configure
--with-gcc-version-trigger=/home/snwiz/packages/gcc/egcs/gcc/version.c
--host=mips-sgi-irix5.3 --with-gnu-as --with-stabs
--prefix=/home/snwiz/M-SGI/egcs32 --norecursion
# using "mh-frag"
Thanks for your work.
- Leon Bottou.
["bug.cpp" (text/plain)]
/** Namespace for containers.
This class is used as a namespace for global identifiers related to the
implementation of containers. It is inherited by all container objects. */
class GCont
{
private:
// --- Base class for list nodes
struct Node
{
Node *next;
Node *prev;
};
// -- Class for list nodes
template <class T> struct ListNode : public Node
{
T val;
ListNode();
ListNode(const T &ref) : val(ref) { } ;
};
// -- Class for map nodes showing the hash
struct HNode : public Node
{
unsigned int hashcode;
};
// -- Class for map nodes showing the hash and the key
template <class K> struct SetNode : public HNode
{
K key;
SetNode(const K &key) : key(key) { } ;
};
// -- Class for map nodes with everything
template <class K, class T> struct MapNode : public SetNode<K>
{
T val;
MapNode(const K &key) : SetNode<K>(key) { } ;
};
};
["bug.ii" (text/plain)]
# 1 "bug.cpp"
class GCont
{
private:
struct Node
{
Node *next;
Node *prev;
};
template <class T> struct ListNode : public Node
{
T val;
ListNode();
ListNode(const T &ref) : val(ref) { } ;
};
struct HNode : public Node
{
unsigned int hashcode;
};
template <class K> struct SetNode : public HNode
{
K key;
SetNode(const K &key) : key(key) { } ;
};
template <class K, class T> struct MapNode : public SetNode<K>
{
T val;
MapNode(const K &key) : SetNode<K>(key) { } ;
};
};
["bug.s" (text/plain)]
.file 1 "bug.cpp"
.option pic2
gcc2_compiled.:
__gnu_compiled_cplusplus:
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic