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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [frv/] [all-tls-initial-exec.c] - Blame information for rev 326

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 317 jeremybenn
/* { dg-options "-ftls-model=initial-exec -mfdpic" } */
2
/* { dg-do compile } */
3
extern __thread int x;
4
extern void bar ();
5
int *y;
6
 
7
void foo (void)
8
{
9
  bar ();
10
  y = &x;
11
}
12
/* { dg-final { scan-assembler "ld.*#tlsoff.x.@" } } */

powered by: WebSVN 2.1.0

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