view gcc/testsuite/gcc.dg/tree-ssa/pr82472.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 -ftree-loop-distribution" } */

long int xj;

int
cx (long int *ox, short int mk, char tf)
{
  int si, f9;
  char *p4 = &tf;
  short int *rm = (tf != 0) ? (short int *)&f9 : &mk;

  for (f9 = 0; f9 < 2; ++f9)
    {
      *rm = 0;
      *p4 = *ox;
      si = mk;
      xj = 0;
      while (p4 < (char *)rm)
        ++p4;
    }

  return si;
}