http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56895
Markus Trippelsdorf <markus at trippelsdorf dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |markus at trippelsdorf dot
| |de
--- Comment #1 from Markus Trippelsdorf <markus at trippelsdorf dot de>
2013-04-09 16:11:24 UTC ---
A bit more reduced:
% cat test.ii
struct A
{
int *foo ();
A bar ();
}
*a;
template <class> void
fn1 ()
{
0 << (a->bar().foo() ? 1 : 0);
}
% c++ -c test.ii
test.ii: In function ‘void fn1()’:
test.ii:11:33: internal compiler error: unexpected expression ‘a->’ of kind
arrow_expr
0 << (a->bar().foo() ? 1 : 0);