1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3 /* { dg-require-effective-target arm32 } */
4 extern void overflow_handler ();
6 long long overflow_add (long long x
, long long y
)
10 int ovr
= __builtin_saddll_overflow (x
, y
, &r
);
17 /* { dg-final { scan-assembler "adds" } } */
18 /* { dg-final { scan-assembler "adcs" } } */