On Mon, 15 Jan 2018, Szabolcs Nagy wrote: > On 11/01/18 13:41, Richard Biener wrote: > > 2018-01-11 Richard Biener <rguent...@suse.de> > > > > PR tree-optimization/83435 > > * graphite.c (canonicalize_loop_form): Ignore fake loop exit edges. > > * graphite-scop-detection.c (scop_detection::get_sese): Likewise. > > * tree-vrp.c (add_assert_info): Drop TREE_OVERFLOW if they appear. > > > > * gcc.dg/graphite/pr83435.c: New testcase. > > this test case fails on baremetal targets for me with > > xgcc: error: unrecognized command line option '-pthread'
Fixed as follows. Richard. 2018-01-16 Richard Biener <rguent...@suse.de> * gcc.dg/graphite/pr83435.c: Restrict to target pthread. Index: gcc/testsuite/gcc.dg/graphite/pr83435.c =================================================================== --- gcc/testsuite/gcc.dg/graphite/pr83435.c (revision 256722) +++ gcc/testsuite/gcc.dg/graphite/pr83435.c (working copy) @@ -1,4 +1,4 @@ -/* { dg-do compile } */ +/* { dg-do compile { target pthread } } */ /* { dg-options "-O -ftree-parallelize-loops=2 -floop-parallelize-all" } */ int yj, ax; > > > Index: gcc/testsuite/gcc.dg/graphite/pr83435.c > > =================================================================== > > --- gcc/testsuite/gcc.dg/graphite/pr83435.c (nonexistent) > > +++ gcc/testsuite/gcc.dg/graphite/pr83435.c (working copy) > > @@ -0,0 +1,25 @@ > > +/* { dg-do compile } */ > > +/* { dg-options "-O -ftree-parallelize-loops=2 -floop-parallelize-all" } */ > > + > > +int yj, ax; > > + > > +void > > +gf (signed char mp) > > +{ > > + int *dh = &yj; > > + > > + for (;;) > > + { > > + signed char sb; > > + > > + for (sb = 0; sb < 1; sb -= 8) > > + { > > + } > > + > > + mp &= mp <= sb; > > + if (mp == 0) > > + dh = &ax; > > + mp = 0; > > + *dh = 0; > > + } > > +} > > > > -- Richard Biener <rguent...@suse.de> SUSE LINUX GmbH, GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg)