On Wed, Jan 24, 2018 at 05:00:39PM -0500, Michael Meissner wrote:
> Replacing 'int' with 'unsigned long' allows the test to succeed once again.  I
> have checked this on a big endian power8 (both 32-bit and 64-bit) and on a
> little endian power8 (64-bit only), and it passes in all three environments.
> Can I install this on the trunk?

Yes, this is.  Please install on trunk.  Thanks!


Segher


> [gcc/testsuite]
> 2018-01-24  Michael Meissner  <meiss...@linux.vnet.ibm.com>
> 
>       PR target/81550
>       * gcc.target/powerpc/loop_align.c: Use unsigned long for the loop
>       index instead of int, which allows IVOPTs to properly optimize the
>       loop.

Reply via email to