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 sanitizer/59437] ICE in for g++ -S -fvtable-verify=std -fsanitize=null


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59437

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Slightly reduced:

template < typename T > struct A
{
  T foo ();
};
template < typename T > struct C: virtual public A < T >
{
  C & operator<< (C & (C &));
};
template < typename T >
C < T > &endl (C < int > &c)
{
  c.foo ();
  return c;
}
C < int > cout;
void
fn ()
{
  cout << endl;
}


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