> 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 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 this > would give false negatives. We clearly know that TYPE_MODE is far from being sufficient for aggregates. -- Eric Botcazou