This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgomp/37346] [4.4 Regression] 101 insns needed body finalized, verify_cgraph_node failed



------- Comment #2 from tbm at cyrius dot com  2008-09-03 09:05 -------
/* Testcase by Martin Michlmayr <tbm@cyrius.com> */

template < class _CharT > struct char_traits;
template < typename _CharT, typename _Traits =
  char_traits < _CharT > >class basic_ifstream;
typedef basic_ifstream < char >ifstream;
template < typename _CharT, typename _Traits > class basic_ifstream
{
  public:
    void close ()
    {
    }
};
class gnFileSource
{
  gnFileSource (const gnFileSource & gnfs);
    ifstream m_ifstream;
};
gnFileSource::gnFileSource (const gnFileSource & gnfs)
{
#pragma omp critical
  m_ifstream.close ();
}


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37346


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]