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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [debug/] [pr41893-1.c] - Rev 708

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

/* PR debug/41893 */
/* { dg-do link } */
/* { dg-require-effective-target lto } */
/* { dg-options "-flto -fwhole-program -O" } */
/* { dg-additional-sources "pr41893-2.c" } */
 
struct S { int v; };
struct S s;
 
void __attribute__((externally_visible))
func1 (void)
{
  struct S *p = &s;
}
 
int main() { return 0; }
 

Go to most recent revision | 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.