On Thu, Apr 17, 2014 at 10:07:29AM -0700, H.J. Lu wrote:
> Hi,
> 
> GET_MODE returns VOIDmode on CONST_INT.  It happens with -O0.  This
> patch uses counter_mode on count_exp to get mode.  Tested on
> Linux/x86-64 without regressions.  OK for trunk and 4.9 branch?

Ok, thanks.

> 2014-04-17  H.J. Lu  <hongjiu...@intel.com>
> 
>       PR target/60868
>       * config/i386/i386.c (ix86_expand_set_or_movmem): Call counter_mode 
>       on count_exp to get mode.
> 
> gcc/testsuite/
> 
> 2014-04-17  H.J. Lu  <hongjiu...@intel.com>
> 
>       PR target/60868
>       * gcc.target/i386/pr60868.c: New testcase.

        Jakub

Reply via email to