This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/59437] ICE in for g++ -S -fvtable-verify=std -fsanitize=null
- From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 09 Dec 2013 22:42:09 +0000
- Subject: [Bug sanitizer/59437] ICE in for g++ -S -fvtable-verify=std -fsanitize=null
- Auto-submitted: auto-generated
- References: <bug-59437-4 at http dot gcc dot gnu dot org/bugzilla/>
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;
}