OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc4/] [gcc/] [testsuite/] [gcc.target/] [mips/] [pr35802.c] - Blame information for rev 519

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 321 jeremybenn
/* { dg-options "-O2 -march=74kc -mgp32" } */
2
__thread int x __attribute__((tls_model("initial-exec")));
3
__thread int y __attribute__((tls_model("initial-exec")));
4
 
5
int bar (void);
6
 
7
NOMIPS16 void
8
foo (int n)
9
{
10
  if (n > 5)
11
    {
12
      y = 0;
13
      do
14
        x += bar ();
15
      while (n--);
16
    }
17
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.