1 /* PR rtl-optimization/94291 */ 2 /* { dg-do compile } */ 3 /* { dg-options "-Og" } */ 4 5 unsigned a; 6 7 unsigned foo(void)8 foo (void) 9 { 10 unsigned x 11 = (__builtin_sub_overflow ((long long) a, 0, &x) 12 ? 1 : (__INTPTR_TYPE__) __builtin_memmove (&x, foo, 1)); 13 return a; 14 } 15