🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Brendan Kehoe Wed, 06 Jan 1993 03:12
[jbg@qualcomm.com: Core dump now internal error]
#1590
Author: Brendan Kehoe
Date: Wed, 06 Jan 1993 03:12
72 lines
2694 bytes
I think this is a back-end problem.  `-O -g -funroll-loops' is what
triggers it.

------- Start of forwarded message -------
From: Jeff Gehlhaar <jbg@qualcomm.com>
Subject: Core dump now internal error
To: bug-g++@prep.ai.mit.edu
Date: Mon, 4 Jan 1993 09:19:11 -0700
X-Sender: jbg@wizard.qualcomm.com

// This program used to cause G++ to dump core.  It now causes an internal
// compiler error.

// All of this, both code and options, seem to be necessary to tickle
// the bug.  Don't ask _me_ why; I don't see how they are related....

// The result of ``g++ -v -c -O -g -funroll-loops bug006.cc'' is attached below.

// -- Greg

#include <iostream.h>
#define SHOW(x)    do { cout << x << endl; } while (0)

class List
{
public:
        List(void) { list = 0; }
        class List *list;
};

class Class
{
public:
        Class(char *param);
        List queue;
};

Class::Class(char *param)
{
        SHOW("Display some text");
}

/* Compiler output follows:
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.3.3/specs
gcc version 2.3.3
 /usr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.3.3/cpp -lang-c++ -v -undef
- -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -Dsparc -Dsun -Dunix -D__sparc__
- -D__sun__ -D__unix__ -D__sparc -D__sun -D__unix -D__OPTIMIZE__ -g bug006.cc
/usr/tmp/cca29841.i
GNU CPP version 2.3.3 (sparc)
 /usr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.3.3/cc1plus
/usr/tmp/cca29841.i -quiet -dumpbase bug006.cc -g -O -version
- -funroll-loops -o /usr/tmp/cca29841.s
GNU C++ version 2.3.3 (sparc) compiled by CC.
bug006.cc: In method `Class::Class (char *)':
bug006.cc:31: Internal compiler error.
bug006.cc:31: Please report this to `bug-g++@prep.ai.mit.edu'.
Compiler output above */


======================================================
Jeff Gehlhaar           Qualcomm Inc,  
jbg@qualcomm.com        San Diego, CA, USA
(619) 597-5241          "The Elegant Solution...."
======================================================


------- End of forwarded message -------

--
Brendan Kehoe                                               brendan@cygnus.com
Cygnus Support, Mountain View, CA                              +1 415 903 1400
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads