1 /* PR middle-end/77594 */ 2 /* { dg-do compile } */ 3 /* { dg-options "-O0" } */ 4 5 int foo(int a,int * b)6 foo (int a, int *b) 7 { 8 return __builtin_sub_overflow (0, a, b); 9 } 10 11 /* { dg-final { scan-assembler-times "\tjn?o\t" 1 } } */ 12