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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [lto/] [20090302_0.C] - Blame information for rev 774

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

Line No. Rev Author Line
1 693 jeremybenn
/* { dg-lto-do link } */
2
/* { dg-require-effective-target fpic } */
3
/* { dg-lto-options {{-fPIC -flto -flto-partition=1to1 -r -nostdlib}} } */
4
struct Foo {
5
  bool Mumble();
6
  static void Bar() { if (foo_->Mumble()) foo_ = 0; }
7
  static void Baz() { Bar(); }
8
  static Foo *foo_;
9
};
10
void Unused() { Foo::Bar(); Foo::Baz(); }

powered by: WebSVN 2.1.0

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