re PR c++/34619 (ICE with "-fmudflap" and templates)
authorJakub Jelinek <jakub@redhat.com>
Thu, 3 Jan 2008 10:28:30 +0000 (11:28 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 3 Jan 2008 10:28:30 +0000 (11:28 +0100)
commitcac67c0835c7cf87ca6bb62b5fab0a781ac006b4
treea4d9a31ad1849aee61b7768db215e00ac788037e
parente0658eda3cfe217aa1cf8548642ef99490ef0b27
re PR c++/34619 (ICE with "-fmudflap" and templates)

PR c++/34619
* cgraphunit.c (cgraph_build_static_cdtor): set_cfun back to NULL
before returning.

* testsuite/libmudflap.c++/pass61-frag.cxx: New test.

From-SVN: r131302
gcc/ChangeLog
gcc/cgraphunit.c
libmudflap/ChangeLog
libmudflap/testsuite/libmudflap.c++/pass61-frag.cxx [new file with mode: 0644]