1/* { dg-do compile } */ 2/* { dg-skip-if "" { *-*-* } { "-march=*" } { "-march=atom" } } */ 3/* { dg-options "-O2 -fomit-frame-pointer -march=atom" } */ 4/* { dg-final { scan-assembler-not "nop" } } */ 5/* { dg-final { scan-assembler-not "rep" } } */ 6 7extern void bar (); 8 9int 10foo2 (int z, int x) 11{ 12 if (x == 1) 13 { 14 bar (); 15 return z; 16 } 17 else 18 return x - z; 19} 20