Path: utzoo!utgpu!water!watmath!uunet!labrea!agate!ucbvax!ucsd!sdcsvax!beowulf!dlong
From: dlong@beowulf.ucsd.edu (Dean Long)
Newsgroups: gnu.gcc.bug
Subject: Re: Bugs in gcc (I'm trying to get g++ working):
Message-ID: <5335@sdcsvax.UCSD.EDU>
Date: 28 Sep 88 22:20:38 GMT
References: <8809272301.AA01392@mouse.>
Sender: nobody@sdcsvax.UCSD.EDU
Reply-To: dlong@beowulf.UCSD.EDU (Dean Long)
Distribution: gnu
Organization: EE/CS Dept. U.C. San Diego
Lines: 30

In article <8809272301.AA01392@mouse.> ehr%mouse@UMN-CS.CS.UMN.EDU (Wm Ehrich) writes:
>tm-sparc.h has a pair of definitions which can't be compiled when TYPE == 0
>because TREE_ADDRESSABLE makes a form like  (0)->blah . Lisp would have

Change the 0 to (tree)0 so that it is treated as a pointer, and can be
dereferenced.

>Now I'm stuck on:
>
>ehr: make CC=stage1/gcc CFLAGS="-g -O -Bstage1/"
>stage1/gcc -g -O -Bstage1/ -DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-include\" \
>          -DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/g++-include\" -c cccp.c
>stage1/gcc: Program cc1 got fatal signal 6.
>*** Error code 1
>make: Fatal error: Command failed for target `cccp.o'

No fix, but the problem is returning a structure.  This simple program
won't work for me:

#include 

FILE foo()
{
   FILE a;

   return a;
}

Dean Long
dlong@beowulf