view gcc/testsuite/gcc.c-torture/compile/pr77929.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line source

/* PR tree-optimization/77929 */

void bar (void);

void
foo (int x, unsigned short int y)
{
  int a = 0;
  int b = (y != 0) ? (x < y) : (a < 0);

  if (x >= 0 & b)
    bar ();
}