view gcc/testsuite/gcc.dg/pr81228.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents
children
line wrap: on
line source

/* PR target/81228.  */
/* { dg-do compile } */
/* { dg-options "-O3 -fdump-tree-ssa" } */

void *a;

void b ()
{
  char c;
  long d;
  char *e = a;
  for (; d; d++)
  {
    double f, g;
    c = g < f || g > f;
    e[d] = c;
  }
}

/* Let's make sure we do have a LTGT.  */
/* { dg-final { scan-tree-dump "<>" "ssa" } } */