Article View: gnu.gcc.bug
Article #1700Re: Bugs in gcc (I'm trying to get g++ working):
From: Dean Long
Date: Wed, 28 Sep 1988 22:20
Date: Wed, 28 Sep 1988 22:20
30 lines
1348 bytes
1348 bytes
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 <stdio.h>
FILE foo()
{
FILE a;
return a;
}
Dean Long
dlong@beowulf
Technical Details
Message-ID:
<5335@sdcsvax.UCSD.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!uunet!labrea!agate!ucbvax!ucsd!sdcsvax!beowulf!dlongReferences:
<8809272301.AA01392@mouse.>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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