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]
Other format: [Raw text]

Re: post-reload register copy-propagation



Richard Henderson wrote:

>Make that
>
>    && ! (bb->pred->flags & (EDGE_ABNORMAL_CALL | EDGE_EH))
>
>and patch is pre-approved.


OK, I've installed this patch:


 2001-12-15  Ulrich Weigand  <uweigand@de.ibm.com>

     * regrename.c (copyprop_hardreg_forward): Do not keep register
     value data live across abnormal call or eh egdes.


Index: regrename.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/regrename.c,v
retrieving revision 1.30
diff -c -p -r1.30 regrename.c
*** regrename.c     2001/12/15 04:12:42  1.30
--- regrename.c     2001/12/15 15:33:50
*************** copyprop_hardreg_forward ()
*** 1626,1631 ****
--- 1626,1632 ----
        /* ??? Ought to use more intelligent queueing of blocks.  */
        if (bb->pred
       && ! bb->pred->pred_next
+      && ! (bb->pred->flags & (EDGE_ABNORMAL_CALL | EDGE_EH))
       && bb->pred->src->index != ENTRY_BLOCK
       && bb->pred->src->index < b)
     all_vd[b] = all_vd[bb->pred->src->index];


Mit freundlichen Gruessen / Best Regards

Ulrich Weigand

--
  Dr. Ulrich Weigand
  Linux for S/390 Design & Development
  IBM Deutschland Entwicklung GmbH, Schoenaicher Str. 220, 71032 Boeblingen
  Phone: +49-7031/16-3727   ---   Email: Ulrich.Weigand@de.ibm.com


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