OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gcc.dg/] [intermod-1.c] - Rev 384

Compare with Previous | Blame | View Log

/* { dg-do compile } */
/* { dg-final { scan-assembler-not {foo[1-9]\.[0-9]} } } */
 
/* Check that we don't get .0 suffixes on static variables when not using
   intermodule analysis.  */
 
static int foo1;
static int foo2 = 1;
 
static void foo5(void) {  }
static void foo6(void);
static void foo6(void) { }
static void foo7(void);
void foo7(void) { }
 
void foo9(void) 
{
  foo1 = 2;
  foo2 = 3;
  foo5();
  foo6();
  foo7();
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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