view gcc/testsuite/gcc.c-torture/compile/pr52891-1.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-optimizations/52891 */

struct S
{
  int a;
  struct T { unsigned c : 10; } b;
} s;

void
bar (short x, short y, int **p)
{
  if ((x && y) + **p)
    while (1);
}

void
foo (int **p)
{
  bar (s.a, s.b.c, p);
}