PATCH: Fix PR3189

Mark Mitchell mark@codesourcery.com
Wed Aug 8 14:21:00 GMT 2001


This patch fixes PR3189, as discussed earlier.  Tested on
i686-pc-linux-gnu, applied on the mainline and on the branch.

The testcase is huge, and I do not have the time to try to shrink it,
unfortunately.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com

2001-08-08  Mark Mitchell  <mark@codesourcery.com>

	* except.c (remove_fixup_regions): Fix typo.

Index: except.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/except.c,v
retrieving revision 1.143.2.15
diff -c -p -r1.143.2.15 except.c
*** except.c	2001/08/03 23:59:14	1.143.2.15
--- except.c	2001/08/08 21:16:52
*************** remove_fixup_regions ()
*** 1133,1139 ****
  	&& fixup->type == ERT_FIXUP)
        {
  	if (fixup->u.fixup.real_region)
! 	  XEXP (note, 1) = GEN_INT (fixup->u.fixup.real_region->region_number);
  	else
  	  remove_note (insn, note);
        }
--- 1133,1139 ----
  	&& fixup->type == ERT_FIXUP)
        {
  	if (fixup->u.fixup.real_region)
! 	  XEXP (note, 0) = GEN_INT (fixup->u.fixup.real_region->region_number);
  	else
  	  remove_note (insn, note);
        }



More information about the Gcc-patches mailing list