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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-do compile } */
2
/* { dg-final { scan-assembler-not {foo[1-9]\.[0-9]} } } */
3
 
4
/* Check that we don't get .0 suffixes on static variables when not using
5
   intermodule analysis.  */
6
 
7
static int foo1;
8
static int foo2 = 1;
9
 
10
static void foo5(void) {  }
11
static void foo6(void);
12
static void foo6(void) { }
13
static void foo7(void);
14
void foo7(void) { }
15
 
16
void foo9(void)
17
{
18
  foo1 = 2;
19
  foo2 = 3;
20
  foo5();
21
  foo6();
22
  foo7();
23
}

powered by: WebSVN 2.1.0

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