Debian Codegraph @

gcc/testsuite/gcc.target/arc/cmem-ld.inc

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 }