Re: ICF fixes

2015-11-21 Thread Jan Hubicka
> > this patchs fixes few issues in ipa-icf. First I drop the use of > > TYPE_CANONICAL because that is no longer part of type compatibility > > machinery. > > That doesn't seem right, as the check on TYPE_CANONICAL was restored for > aggregate types because of the serious issues we found. > >

Re: ICF fixes

2015-11-21 Thread Eric Botcazou
> this patchs fixes few issues in ipa-icf. First I drop the use of > TYPE_CANONICAL because that is no longer part of type compatibility > machinery. That doesn't seem right, as the check on TYPE_CANONICAL was restored for aggregate types because of the serious issues we found. > Second I also

ICF fixes

2015-11-20 Thread Jan Hubicka
Hi, this patchs fixes few issues in ipa-icf. First I drop the use of TYPE_CANONICAL because that is no longer part of type compatibility machinery. Second I also hash TYPE_MODE for aggregates, becuase we now always require a match and I check that we don't match types that are incomplete where th