Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/mipscop-2.c

raw
1 /* { dg-do compile { target mips*-*-* } } */
2
3 #include <stdio.h>
4 register unsigned int c3r1 asm ("$c3r1");
5
6 extern unsigned int b, c;
7
8 void __attribute__ ((nomips16))
9 foo ()
10 {
11 unsigned int a, d;
12
13 c3r1 = a;
14 b = c3r1;
15
16 c3r1 = c;
17 d = c3r1;
18 printf ("%d\n", d);
19 }