Message ID | 20160114143107.GJ3017@tucnak.redhat.com |
---|---|
State | New |
Headers | show |
On 01/14/2016 03:31 PM, Jakub Jelinek wrote: > > PR target/68269 > * combine.c (expand_field_assignment): Punt if compute_mode is > unsupported scalar mode. Ok. Bernd
--- gcc/combine.c.jj 2016-01-07 09:42:39.000000000 +0100 +++ gcc/combine.c 2016-01-13 17:09:22.474067565 +0100 @@ -7247,6 +7247,10 @@ expand_field_assignment (const_rtx x) if (len >= HOST_BITS_PER_WIDE_INT) break; + /* Don't try to compute in too wide unsupported modes. */ + if (!targetm.scalar_mode_supported_p (compute_mode)) + break; + /* Now compute the equivalent expression. Make a copy of INNER for the SET_DEST in case it is a MEM into which we will substitute; we don't want shared RTL in that case. */