https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52036
Alexander Dubov <oakad at yahoo dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |oakad at yahoo dot com --- Comment #10 from Alexander Dubov <oakad at yahoo dot com> --- Still an issue on GCC-4.9.2 (-std=c++11, c++14, gnu++1y). clang-3.4 compiles this and similar cases just fine.