Re: Help with detection of an invariant

2015-12-07 Thread Dominik Vogt
On Mon, Dec 07, 2015 at 11:48:10AM -0800, Andrew Pinski wrote: > On Mon, Dec 7, 2015 at 6:44 AM, Dominik Vogt wrote: > > On S/390 the test case gcc.dg/loop-9.c currently fails: > > > > void f (double *a) > > { > > int i; > > for (i = 0; i < 100; i++) > > a[i] = 18.4242; > > } >

Re: Help with detection of an invariant

2015-12-07 Thread Andrew Pinski
On Mon, Dec 7, 2015 at 6:44 AM, Dominik Vogt wrote: > On S/390 the test case gcc.dg/loop-9.c currently fails: > > void f (double *a) > { > int i; > for (i = 0; i < 100; i++) > a[i] = 18.4242; > } > > It seems to expect that moving 18.4242 to a register is moved out > of the loo