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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.target/] [frv/] [all-tls-initial-exec-pic.c] - Blame information for rev 825

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

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-options "-ftls-model=initial-exec -fpic -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.*#gottlsoff12" } } */

powered by: WebSVN 2.1.0

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