aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr77594.c
blob: 96c51fd71fa2b67ced56e28e7048db72fae82807 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* PR middle-end/77594 */
/* { dg-do compile } */
/* { dg-options "-O0" } */

int
foo (int a, int *b)
{
  return __builtin_sub_overflow (0, a, b);
}

/* { dg-final { scan-assembler-times "\tjn?o\t" 1 } } */