view gcc/testsuite/gcc.dg/pr80788.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 tree-optimization/80788 */
/* { dg-do compile } */
/* { dg-options "-O2 -fwrapv" } */

void
foo (signed char x)
{
  signed char a = (x + 1) ^ 128;
  x &= !!a;
  if (x != 0)
    for (;;)
      ;
}