Hi Aaron, On Thu, Feb 09, 2017 at 09:45:38PM -0600, Aaron Sawdey wrote: > --- gcc/config/rs6000/rs6000.c (revision 245294) > +++ gcc/config/rs6000/rs6000.c (working copy) > @@ -19931,15 +19931,26 @@ > cmpldi cr7,r8,4096-16 > bgt cr7,L(pagecross) */ > > + /* Make sure that the length we use for the alignment test and > + the subsequent code generation are in agreement so we do not > + go past the length we tested for a 4k boundary crossing. */ > + unsigned HOST_WIDE_INT align_test = compare_length; > + if (align_test < 8) > + { > + align_test = 1 << ceil_log2 (align_test);
HOST_WIDE_INT_1U here. Okay for trunk with that fixed, thanks! Segher