[gnu.g++.bug] g++ error

piotr@cs.ualberta.ca (12/15/89)

Below you will find a script of a session run on Sun 3/80 under SunOS 4.0.3.
The program er1.c is syntactically incorrect, '}' is missing for the class.
The compiler gets a fatal signal.

Should you need any further info, please let me know.

PR
 
 *----------------------------------------------------------------------------*
 | Piotr Rudnicki                    | piotr@alberta.UUCP                     |
 | Department of Computing Science   |					      | 
 | The University of Alberta         |                                        |
 | Edmonton, Alberta, Canada         | tel. (403) 492 2983 (o)                |
 | T6G 2H1                           |      (403) 437 0008 (h)                |
 *----------------------------------------------------------------------------*
 	

Script started on Thu Dec 14 12:51:52 1989
1-sedalia->cat er1.c
// er1.c

#include <stream.h>

class	aa {
public:
	aa()	{}
 	~aa()	{}
;

aa	a = aa (); 

main ()	{

}
2-sedalia->g++ -v er1.c
gcc version 1.36.1 (based on GCC 1.36)
 /usr/local/lib/gcc-cpp -+ -v -undef -D__GNUC__ -D__GNUG__ -D__cplusplus -Dmc68000 -Dsun -Dunix -D__mc68000__ -D__sun__ -D__unix__ -D__HAVE_68881__ -Dmc68020 er1.c /usr/tmp/cca11763.cpp
GNU CPP version 1.36
 /usr/local/lib/gcc-cc1plus /usr/tmp/cca11763.cpp -quiet -dumpbase er1.c -version -o /usr/tmp/cca11763.s
GNU C++ version 1.36.1 (based on GCC 1.36) (68k, MIT syntax) compiled by GNU C version 1.36.
default target switches: -m68020 -mc68020 -m68881 -mbitfield
er1.c:11: Segmentation violation
g++: Program cc1plus got fatal signal 11.
3-sedalia->^D
script done on Thu Dec 14 12:52:56 1989