last intval change

Richard Henderson rth@cygnus.com
Fri Mar 10 11:22:00 GMT 2000


Like an idiot, I didn't sanity build for typos before comitting.

Sigh.


r~



Index: flow.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/flow.c,v
retrieving revision 1.231
diff -c -p -d -r1.231 flow.c
*** flow.c	2000/03/10 19:12:52	1.231
--- flow.c	2000/03/10 19:20:37
*************** count_basic_blocks (f)
*** 466,472 ****
        if (code == CALL_INSN)
  	{
  	  rtx note = find_reg_note (insn, REG_EH_REGION, NULL_RTX);
! 	  int region = (note ? INTVAL (XEXP (note, 0), 0) : 1);
  	  prev_call = insn;
  	  call_had_abnormal_edge = 0;
  
--- 466,472 ----
        if (code == CALL_INSN)
  	{
  	  rtx note = find_reg_note (insn, REG_EH_REGION, NULL_RTX);
! 	  int region = (note ? INTVAL (XEXP (note, 0)) : 1);
  	  prev_call = insn;
  	  call_had_abnormal_edge = 0;
  
*************** find_basic_blocks_1 (f)
*** 540,546 ****
  	{
  	  /* Record whether this call created an edge.  */
  	  rtx note = find_reg_note (insn, REG_EH_REGION, NULL_RTX);
! 	  int region = (note ? INTVAL (XEXP (note, 0), 0) : 1);
  	  call_has_abnormal_edge = 0;
  
  	  /* If there is an EH region or rethrow, we have an edge.  */
--- 540,546 ----
  	{
  	  /* Record whether this call created an edge.  */
  	  rtx note = find_reg_note (insn, REG_EH_REGION, NULL_RTX);
! 	  int region = (note ? INTVAL (XEXP (note, 0)) : 1);
  	  call_has_abnormal_edge = 0;
  
  	  /* If there is an EH region or rethrow, we have an edge.  */
Index: except.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/except.c,v
retrieving revision 1.123
diff -c -p -d -r1.123 except.c
*** except.c	2000/03/10 19:12:53	1.123
--- except.c	2000/03/10 19:20:37
*************** can_throw (insn)
*** 2629,2635 ****
    if (GET_CODE (insn) == CALL_INSN)
      {
        rtx note = find_reg_note (insn, REG_EH_REGION, NULL_RTX);
!       if (!note || INTVAL (XEXP (note, 0), 0) > 0)
  	return 1;
      }
  
--- 2629,2635 ----
    if (GET_CODE (insn) == CALL_INSN)
      {
        rtx note = find_reg_note (insn, REG_EH_REGION, NULL_RTX);
!       if (!note || INTVAL (XEXP (note, 0)) > 0)
  	return 1;
      }
  
*************** reachable_handlers (block, info, insn, h
*** 3390,3396 ****
  	  note = find_reg_note (insn, REG_EH_REGION, NULL_RTX);
  	  if (note)
  	    {
! 	      int b = INTVAL (XEXP (note, 0), 0);
  	      if (b <= 0)
  	        index = 0;
  	      else
--- 3390,3396 ----
  	  note = find_reg_note (insn, REG_EH_REGION, NULL_RTX);
  	  if (note)
  	    {
! 	      int b = INTVAL (XEXP (note, 0));
  	      if (b <= 0)
  	        index = 0;
  	      else


More information about the Gcc-patches mailing list