OSDN Git Service

gcc/
authorbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Apr 2010 20:42:02 +0000 (20:42 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:32:32 +0000 (14:32 +0900)
PR target/21803
* ifcvt.c (cond_exec_process_if_block): Look for identical sequences
at the start and end of the then/else blocks, and omit them from the
conversion.
* cfgcleanup.c (flow_find_cross_jump): No longer static.  Remove MODE
argument; all callers changed.  Pass zero to old_insns_match_p instead.
(flow_find_head_matching_sequence): New function.
(old_insns_match_p): Check REG_EH_REGION notes for calls.
* basic-block.h (flow_find_cross_jump,
flow_find_head_matching_sequence): Declare functions.

gcc/testsuite/
PR target/21803
* gcc.target/arm/pr42496.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158357 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/testsuite/ChangeLog

index cc0c0b1..4e5b984 100644 (file)
@@ -1,3 +1,16 @@
+2010-04-14  Bernd Schmidt  <bernd.schmidt@codesourcery.com>
+       
+       PR target/21803
+       * ifcvt.c (cond_exec_process_if_block): Look for identical sequences
+       at the start and end of the then/else blocks, and omit them from the
+       conversion.
+       * cfgcleanup.c (flow_find_cross_jump): No longer static.  Remove MODE
+       argument; all callers changed.  Pass zero to old_insns_match_p instead.
+       (flow_find_head_matching_sequence): New function.
+       (old_insns_match_p): Check REG_EH_REGION notes for calls.
+       * basic-block.h (flow_find_cross_jump,
+       flow_find_head_matching_sequence): Declare functions.
+
 2010-04-14  Jason Merrill  <jason@redhat.com>
 
        PR c++/36625
 2010-04-14  Jason Merrill  <jason@redhat.com>
 
        PR c++/36625
index 0616399..031d0b4 100644 (file)
@@ -1,3 +1,8 @@
+2010-04-14  Bernd Schmidt  <bernd.schmidt@codesourcery.com>
+
+       PR target/21803
+       * gcc.target/arm/pr42496.c: New test.
+
 2010-04-14  Jason Merrill  <jason@redhat.com>
 
        PR c++/36625
 2010-04-14  Jason Merrill  <jason@redhat.com>
 
        PR c++/36625