☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.target
/
arc
/
cmem-ld.inc
☽
☼
gcc/testsuite/gcc.target/arc/cmem-ld.inc
code
plain
raw
1
2
struct foo_type
3
{
4
unsigned int a;
5
unsigned short b;
6
unsigned char c;
7
};
8
9
struct foo_type foo __attribute__ ((section (".cmem")));
10
11
unsigned int
12
f ()
13
{
14
unsigned int tmp = foo.a + foo.b + foo.c;
15
return tmp;
16
}