comparison gcc/testsuite/gcc.c-torture/compile/mipscop-1.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* { dg-do compile { target mips*-*-* } } */
2
3 register unsigned int cp0count asm ("$c0r1");
4
5 int __attribute__ ((nomips16))
6 main (int argc, char *argv[])
7 {
8 unsigned int d;
9
10 d = cp0count + 3;
11 printf ("%d\n", d);
12 }