Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Mar 2003 18:13:50 -0800 (PST)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 27207 for review
Message-ID:  <200303220213.h2M2DoSY042528@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=27207

Change 27207 by marcel@marcel_vaio on 2003/03/21 18:12:55

	Fix a bug in the if-converter. This fix is filed against GCC
	as PR 10116 and is being tracked by FreeBSD PR 50059.
	Fix tested on i386 and ia64. Testing on Alpha is ongoing.
	Details on the bug can be found in the above mentioned PRs.

Affected files ...

.. //depot/projects/ia64/contrib/gcc/ifcvt.c#4 edit

Differences ...

==== //depot/projects/ia64/contrib/gcc/ifcvt.c#4 (text+ko) ====

@@ -1934,9 +1934,10 @@
      is more than one remaining edge, it must come from elsewhere.  There
      may be zero incoming edges if the THEN block didn't actually join 
      back up (as with a call to abort).  */
-  else if ((join_bb->pred == NULL
-	    || join_bb->pred->pred_next == NULL)
-	   && join_bb != EXIT_BLOCK_PTR)
+  else if ((join_bb->pred == NULL || join_bb->pred->pred_next == NULL)
+	   && join_bb != EXIT_BLOCK_PTR
+	   && (NEXT_INSN(combo_bb->end) == join_bb->head
+	       || GET_CODE(NEXT_INSN(combo_bb->end)) != CODE_LABEL))
     {
       /* We can merge the JOIN.  */
       if (life_data_ok)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303220213.h2M2DoSY042528>