On 05/11/2015 07:23 AM, Andreas Krebbel wrote:
The current implementation re-uses the location of the selection
pattern to generate a new one.  This fails if the pattern resides in a
read-only location.  With the patch a new temporary register is
allocated for that purpose.

gcc/
        * optabs.c (expand_vec_perm): Allocate a temp reg for the new
           select pattern.
This is probably a good idea even if SEL is not in readonly memory. When possible we still want rtl objects to have a single def.

Presumably it passes a bootstrap and regression test.

OK for the trunk.

As for the branches, that's the call of the release managers.

jeff

Reply via email to