1 /* { dg-do compile } */ 2 /* { dg-options "-O2 -march=r2" } */ 3 /* { dg-final { scan-assembler "wrpie" } } */ 4 5 int foo(int a)6 foo (int a) 7 { 8 int b; 9 10 b = __builtin_wrpie (a); 11 a = __builtin_wrpie (b); 12 13 return a + b; 14 } 15