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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [20061127-1.c] - Blame information for rev 867

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

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

powered by: WebSVN 2.1.0

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