This is the mail archive of the gcc-bugs@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: Bootstrap failure on irix6.5


On Thu, Jun 14, 2001 at 12:31:11AM +0100, Billinghurst, David (CRTS) wrote:
> "/exd4/billingd/src/gcc/gcc/ifcvt.c", line 1963: error(1119): return value
>           type does not match the function type
>             return NULL_RTX;

Arg!  I must not have been paying attention to gcc warnings.
Shame on me.  Applied.


r~


        * ifcvt.c (dead_or_predicable): Fix return value last patch.

Index: ifcvt.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ifcvt.c,v
retrieving revision 1.37.4.6
diff -c -p -d -r1.37.4.6 ifcvt.c
*** ifcvt.c	2001/06/13 18:13:23	1.37.4.6
--- ifcvt.c	2001/06/13 23:35:31
*************** dead_or_predicable (test_bb, merge_bb, o
*** 1960,1966 ****
  	{
  	  enum rtx_code rev = reversed_comparison_code (cond, jump);
  	  if (rev == UNKNOWN)
! 	    return NULL_RTX;
  	  cond = gen_rtx_fmt_ee (rev, GET_MODE (cond), XEXP (cond, 0),
  			         XEXP (cond, 1));
  	  if (prob_val)
--- 1960,1966 ----
  	{
  	  enum rtx_code rev = reversed_comparison_code (cond, jump);
  	  if (rev == UNKNOWN)
! 	    return FALSE;
  	  cond = gen_rtx_fmt_ee (rev, GET_MODE (cond), XEXP (cond, 0),
  			         XEXP (cond, 1));
  	  if (prob_val)


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