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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 693 jeremybenn
// { dg-lto-do run }
2
// { dg-lto-options {{-O3 -flto}} }
3
 
4
#include 
5
#include 
6
 
7
int main ()
8
{
9
  typedef std::map Map;
10
  static Map m;
11
 
12
  Map::const_iterator it = m.find(0);
13
  if (it != m.end())
14
    std::string s = it->second;
15
 
16
  return 0;
17
}

powered by: WebSVN 2.1.0

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