Re: [patch] Let tree-ssa-sink also sink pure calls

2013-01-07 Thread Richard Biener
On Mon, 7 Jan 2013, Steven Bosscher wrote: > Hello, > > As-is, tree-ssa-sink.c can only sink GIMPLE_ASSIGN statements. This > patch lets tree-ssa-sink.c sink pure calls also. > > This allows the pass to sink the call to use in the following test > case (new test case, ssa-sink-10.c to be): > >

[patch] Let tree-ssa-sink also sink pure calls

2013-01-07 Thread Steven Bosscher
Hello, As-is, tree-ssa-sink.c can only sink GIMPLE_ASSIGN statements. This patch lets tree-ssa-sink.c sink pure calls also. This allows the pass to sink the call to use in the following test case (new test case, ssa-sink-10.c to be): -- 8< /* { dg-do compile