Re: [patch] Fix array type merging in LTO mode

2012-05-21 Thread Richard Guenther
On Sun, May 20, 2012 at 7:56 PM, Eric Botcazou ebotca...@adacore.com wrote: Hi, since http://gcc.gnu.org/ml/gcc-patches/2011-05/msg00833.html, canonical type merging for arrays takes hours instead of minutes for big Ada applications. The problem is that iterative_hash_canonical_type doesn't

[patch] Fix array type merging in LTO mode

2012-05-20 Thread Eric Botcazou
Hi, since http://gcc.gnu.org/ml/gcc-patches/2011-05/msg00833.html, canonical type merging for arrays takes hours instead of minutes for big Ada applications. The problem is that iterative_hash_canonical_type doesn't hash TYPE_MIN_VALUE and TYPE_MAX_VALUE for integer types anymore, so