Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.c-torture/compile/20010605-3.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 struct A { unsigned long buf[100]; }; |
2 int foo(unsigned int *x) | |
3 { | |
4 unsigned int a; | |
5 | |
6 if (!x) | |
7 return -22; | |
8 | |
9 #ifdef __ia64__ | |
10 if (({ | |
11 register long b asm ("r8") = 0; | |
12 register long c asm ("r9") = 0; | |
13 asm ("" : "=r"(c), "=r"(b) : "m"(*(struct A *)x), "1"(b)); | |
14 a = (unsigned int) c; | |
15 b; })) | |
16 return -14; | |
17 #endif | |
18 | |
19 return 0; | |
20 } |