view gcc/testsuite/gcc.dg/graphite/pr68715.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* { dg-do compile } */
/* { dg-options "-O2 -floop-nest-optimize" } */

int a[1], c[1];
int b, d, e;

void
fn1 (int p1)
{
  for (;;)
    ;
}

int
fn3 ()
{
  for (; e; e++)
    c[e] = 2;
  for (; d; d--)
    a[d] = 8;
  return 0;
}

int fn5 (int);

int
fn2 ()
{
  fn3 ();
}

void
fn4 ()
{
  fn1 (b || fn5 (fn2 ()));
}