Re: Move some complex simplifications to match.pd

2015-08-31 Thread Richard Biener
On Sun, Aug 30, 2015 at 9:44 AM, Marc Glisse wrote: > Hello, > > just trying to shrink fold-const.c a bit more. > > The tests "if (TREE_CODE (TREE_TYPE (arg0)) != COMPLEX_TYPE)" seem useless, > I did one bootstrap+testsuite with asserts there to make sure, so I am > dropping them. The CONJ_EXPR si

Move some complex simplifications to match.pd

2015-08-30 Thread Marc Glisse
Hello, just trying to shrink fold-const.c a bit more. The tests "if (TREE_CODE (TREE_TYPE (arg0)) != COMPLEX_TYPE)" seem useless, I did one bootstrap+testsuite with asserts there to make sure, so I am dropping them. The CONJ_EXPR simplifications don't seem very useful, as far as I can tell CO