view gcc/testsuite/gcc.dg/pr94002.c @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
line wrap: on
line source

/* PR rtl-optimization/94002 */
/* { dg-do compile } */
/* { dg-options "-O1 -fno-tree-dce -fno-tree-reassoc" } */
/* { dg-additional-options "-fPIC" { target fpic } } */

unsigned a, b;

void
foo (void)
{
  __builtin_sub_overflow (b, 44852956282LL, &a);
  a += ~b;
}