https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84939
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> --- G++ 4.9 says: 84939.C:8:46: warning: taking sizeof array of runtime bound [-Wvla] a() { (sizeof(char[static_cast<char &&>(d)])); } ^