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'


> 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;
> +    }
> +}
> 

Reply via email to