summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/microblaze/others/sdata_var1.c
blob: 2337f5a1e78671d359426b2bafdb29391b6ff3ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-options "-mxl-gp-opt" } */

/* { dg-final { scan-assembler "\.sbss\[^2]+" } } */
typedef int Boolean;
volatile Boolean global = 0;
int testfunc ()
{
/* { dg-final { scan-assembler "\lwi\tr(\[0-9]\|\[1-2]\[0-9]\|3\[0-1]),r13" } } */
    return global;
}

int main ()
{

}