view gcc/testsuite/gcc.dg/torture/pr68248.c @ 138:fc828634a951

merge
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Thu, 08 Nov 2018 14:17:14 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* { dg-do compile } */

int a, b, c, d;

int
fn1 (int p1)
{
  return a > 0 ? p1 : p1 >> a;
}

void
fn2 ()
{
  char e;
  for (; c; c++)
    {
      e = fn1 (!d ^ 2);
      b ^= e;
    }
}