1 /* { dg-options "" } */
2
3 #pragma GCC target "+nothing+nofp"
4
5 void
6 test (void)
7 {
8 register int q0 asm ("q0"); // { dg-error "not general enough" }
9 register int q1 asm ("q1"); // { dg-error "not general enough" }
10 asm volatile ("" : "=w" (q0));
11 q1 = q0;
12 asm volatile ("" :: "w" (q1));
13 }
14
15 void
16 ok (void)
17 {
18 asm volatile ("" ::: "q0");
19 }