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: [Andreas Jaeger <aj@arthur.rhein-neckar.de>] Bootstrap failure with current CVS (ICE in function.c 3218)


Hi Guys,

: ../../cvs/gcc/gcc/libgcc2.c: In function `__moddi3':
: ../../cvs/gcc/gcc/libgcc2.c:720: Internal compiler error in `purge_addressof', at function.c:3218
: Please submit a full bug report.

Sorry!!  This was my fault.  I misapplied my patch.  I have checked in
the fix below to correct this.

Cheers
	Nick

Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>

	* function.c (purge_addressof_1): Add missing return values.

Index: function.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/function.c,v
retrieving revision 1.131
diff -p -r1.131 function.c
*** function.c	1999/11/05 10:11:40	1.131
--- function.c	1999/11/05 12:05:35
*************** purge_addressof_1 (loc, insn, force, sto
*** 2896,2902 ****
  		      z = gen_lowpart (GET_MODE (x), z);
  
  		    *loc = z;
! 		    return;
  		  }
  
  	      /* Sometimes we may not be able to find the replacement.  For
--- 2896,2902 ----
  		      z = gen_lowpart (GET_MODE (x), z);
  
  		    *loc = z;
! 		    return true;
  		  }
  
  	      /* Sometimes we may not be able to find the replacement.  For
*************** purge_addressof_1 (loc, insn, force, sto
*** 3033,3039 ****
    else if (code == ADDRESSOF)
      {
        put_addressof_into_stack (x, ht);
!       return;
      }
    else if (code == SET)
      {
--- 3033,3039 ----
    else if (code == ADDRESSOF)
      {
        put_addressof_into_stack (x, ht);
!       return true;
      }
    else if (code == SET)
      {


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