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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [torture/] [ipa-cp-1.C] - Blame information for rev 749

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

Line No. Rev Author Line
1 693 jeremybenn
/* { dg-do compile } */
2
 
3
// With IPA-CP, this caused a problem on darwin, where
4
// _M_reset is being cloned, it was still being marked
5
// as weak and then we had to change the calls to the
6
// newly marked function for the non throwing behavior.
7
 
8
int&  f(int&);
9
inline void _M_reset(int &_M_vbp) throw()
10
{
11
  f(_M_vbp);
12
}
13
extern int _S_last_request;
14
void _M_allocate_single_object() throw()
15
{
16
  _M_reset(_S_last_request);
17
  _M_reset(_S_last_request);
18
}

powered by: WebSVN 2.1.0

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