On Sunday 08 May 2005 22:19, Richard Henderson wrote: > On Sun, May 08, 2005 at 10:06:04PM +0200, Steven Bosscher wrote: > > A test case that shows what is going on is this: > > > > extern char *x; > > void > > foo (char *a, char *b) > > { > > if (!x) > > x = a; > > else > > x = b; > > } > > This test case doesn't show anything. .04.cse merges all the high parts > of x, and none of the gcse passes do anything. Unless you're working with > some modified tree?
Oops. Not a modified tree, non-standard command line options: -O -fgcse --param max-cse-path-length=1 Gr. Steven