OSDN Git Service

PR tree-optimization/37353
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Sep 2008 08:00:40 +0000 (08:00 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Sep 2008 08:00:40 +0000 (08:00 +0000)
commit86ed2c774c6524ddd483848d613c79d9d078d18d
treee64e8401f364f5c34df73d5e3bc338cfbb095f89
parentf22f3f12ec431f1903625d8c9a25966e14581f63
PR tree-optimization/37353
* tree-call-cdce.c (cond_dead_built_in_calls): Remove.
(shrink_wrap_conditional_dead_built_in_calls): Add calls argument, use
calls instead of cond_dead_built_in_calls.
(tree_call_cdce): Add cond_dead_built_in_calls automatic variable,
initalize the vector only before adding first entry.  Use VEC_safe_push
instead of VEC_quick_push.  Pass cond_dead_built_in_calls to
shrink_wrap_conditional_dead_built_in_calls call.

* gcc.dg/pr37353.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140208 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr37353.c [new file with mode: 0644]
gcc/tree-call-cdce.c