http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29234
--- Comment #6 from poletti.marco at gmail dot com 2012-09-17 17:57:58 UTC --- Still an issue with GCC 4.7.1. Clang does not have this issue. Yet another example: struct C { void operator[](C) { } }; void f() { C x; (C()[x]); }