1 /* { dg-do compile { target { ! ia32 } } } */ 2 /* { dg-options "-O2 -mno-sse -mno-skip-rax-setup" } */ 3 /* { dg-final { scan-assembler-times "xorl\[\\t \]*\\\%eax,\[\\t \]*%eax" 2 } } */ 4 5 void foo (const char *, ...); 6 7 void test1(void)8test1 (void) 9 { 10 foo ("%d", 20); 11 } 12 13 int test2(void)14test2 (void) 15 { 16 foo ("%d", 20); 17 return 3; 18 } 19