https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102201
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- It's accepted since: C++ DR 613 C++ DR 613 * semantics.c (finish_non_static_data_member): Allow such references without an associated object in sizeof/decltype/alignof. From-SVN: r145375 (and SVN r145620 on the gcc-4.4 branch). Presumably treating it as a DR was intentional.