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.dg/] [20061127-1.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile { target fpic } } */
2
/* { dg-require-effective-target lp64 } */
3
/* { dg-options "-O1 -fPIC" } */
4
 
5
/* PR target/29319 */
6
 
7
extern void abort(void);
8
static char l_info[100];
9
 
10
void
11
bug1 (unsigned long tag)
12
{
13
  char *info = l_info;
14
  info[tag - 0x100000000 + 1] = 1;
15
}
16
 
17
void
18
bug2 (unsigned long tag)
19
{
20
  char *info = l_info;
21
  info[tag - 0x700000000 + 2] = 2;
22
}
23
 
24
void
25
bug3 (unsigned long tag)
26
{
27
  char *info = l_info;
28
  info[tag - 0x100000000 + 1] = 3;
29
}

powered by: WebSVN 2.1.0

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