1 /* { dg-do compile } */ 2 /* { dg-options "-Os -mgeneral-regs-only -mno-cld" } */ 3 4 5 extern void *a; 6 extern int b; 7 8 __attribute__ ((interrupt)) 9 void foo(void * frame)10foo (void *frame) 11 { 12 __builtin_memset (a, b, 40); 13 } 14 15 /* { dg-final { scan-assembler "stosb" } } */ 16 /* { dg-final { scan-assembler-times "\tcld" 1 } } */ 17