Thanks for the patch. However in my opinion reordering transformations and noy obeying parentheses are two different issues: optimizing f+a-f as a is one thing, optimizing (f+a)-f is another (bad) one. Dominique