This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch to gcc/rtl.c


On Nov  3, 1999, "Billinghurst, David (RTD)" <David.Billinghurst@riotinto.com.au> wrote:

> Following patch solves bootstrap failure for today's snapshot using irix6.5
> cc

How about the following improved version of your patch?

Index: gcc/ChangeLog
from  David Billinghurst  <David.Billinghurst@riotinto.com.au>,  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
	
	* rtl.c: Include toplev.h.
	(fatal): Remove declaration.
	
Index: gcc/rtl.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/rtl.c,v
retrieving revision 1.52
diff -u -r1.52 rtl.c
--- gcc/rtl.c	1999/11/02 15:48:26	1.52
+++ gcc/rtl.c	1999/11/04 16:40:15
@@ -27,6 +27,7 @@
 #include "bitmap.h"
 #include "ggc.h"
 #include "obstack.h"
+#include "toplev.h"
 #define	obstack_chunk_alloc	xmalloc
 #define	obstack_chunk_free	free
 
@@ -1242,9 +1243,6 @@
 
 /* Report an internal compiler error in a friendly manner and without
    dumping core.  */
-
-extern void fatal PVPROTO ((const char *, ...))
-  ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN;
 
 void
 fancy_abort (file, line, function)

If DU cc compiles it successfully (it also failed to compile rtl.c as
of the latest snapshot, with the same problem), I'll install the patch
under the ``obviously correct'' rule.

-- 
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]