On Mon, Aug 31, 2015 at 01:50:42PM +0200, Tom de Vries wrote:
> @@ -7351,14 +7357,25 @@ expand_omp_for_static_chunk (struct omp_region 
> *region,
>  
>    if (!broken_loop)
>      {
> +      struct loop *loop = body_bb->loop_father;
>        struct loop *trip_loop = alloc_loop ();
>        trip_loop->header = iter_part_bb;
>        trip_loop->latch = trip_update_bb;
>        add_loop (trip_loop, iter_part_bb->loop_father);
>  
> +      if (loop != entry_bb->loop_father)
> +     {
> +       gcc_assert (loop->header == body_bb);
> +       gcc_assert (broken_loop

This is in a block code guarded with !broken_loop.
So, either you should just leave the "broken_loop || " out, or
you need to move it elsewhere, outside of the block guarded with
!broken_loop.

        Jakub

Reply via email to