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 c++/48574] [4.6/4.7 Regression] ICE


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 ();
}


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