This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/48574] [4.6/4.7 Regression] ICE
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 12 Apr 2011 21:03:51 +0000
- Subject: [Bug c++/48574] [4.6/4.7 Regression] ICE
- Auto-submitted: auto-generated
- References: <bug-48574-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48574
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-04-12 21:03:34 UTC ---
Reduced testcase (ICEs even with no options):
struct A
{
virtual void foo ();
};
template <typename T>
void
bar (T x)
{
A &b = *x;
b.foo ();
}