view gcc/testsuite/gcc.c-torture/compile/pr45059.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

/* PR tree-optimization/45059 */

typedef unsigned int T;
extern void foo (signed char *, int);

static signed char a;
static T b[1] = { -1 };
static unsigned char c;

static inline short int
bar (short v)
{
  c |= a < b[0];
  return 0;
}

int
main ()
{
  signed char *e = &a;
  foo (e, bar (bar (c)));
  return 0;
}