On Wed, Feb 04, 2015 at 04:11:03AM -0200, Alexandre Oliva wrote:
> for gcc/ChangeLog
>
> PR debug/64817
> * simplify-rtx.c (simplify_binary_operation_1): Rewrite
> simplification of XOR of AND to not allocate new rtx before
> committing to a simplification.
Ok, thanks.
We have a problem in simplify_binary_operation_1 that causes memory
waste in general, and memory explosion in pathological testcases such as
that of PR64817, with large exprs amounting to XOR of AND of XOR of AND
of...
I believe rtl simplifiers are not supposed to allocate rtl before
committing to