OSDN Git Service

PR rtl-optimization/33737
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Nov 2007 22:05:37 +0000 (22:05 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Nov 2007 22:05:37 +0000 (22:05 +0000)
commit8c09e55ed3b53099afaff01c5d1f336ddb32cc80
tree3b09819b82398b3577c387dc732255b7f014c8d4
parenteeb0ae2330c278624a09d903512153cef5cab34d
PR rtl-optimization/33737
* cfgcleanup.c (try_crossjump_to_edge): Add count and frequency of
target block after computing the probabilities of outgoing edges.
Cap the frequency to BB_FREQ_MAX.
* tree-ssa-threadupdate.c (redirect_edges): Also adjust count and
frequency of the basic block if it has been reused.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129973 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cfgcleanup.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20071107-1.c [new file with mode: 0644]
gcc/tree-ssa-threadupdate.c