This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgomp/37346] [4.4 Regression] 101 insns needed body finalized, verify_cgraph_node failed
- From: "tbm at cyrius dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Sep 2008 09:05:48 -0000
- Subject: [Bug libgomp/37346] [4.4 Regression] 101 insns needed body finalized, verify_cgraph_node failed
- References: <bug-37346-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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