[Bug libgomp/37346] [4.4 Regression] 101 insns needed body finalized, verify_cgraph_node failed
tbm at cyrius dot com
gcc-bugzilla@gcc.gnu.org
Wed Sep 3 09:07:00 GMT 2008
------- 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
More information about the Gcc-bugs
mailing list