http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55576
David Krauss <potswa at mac dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |potswa at mac dot com
--- Comment #12 from David Krauss <potswa at mac dot com> 2013-02-25 14:06:30
UTC ---
Note, this is due to a C++11 change. Under C++03 there were additional rules in
3.4.5/1 rendering the code ill-formed. So it's not a coincidence this just
popped up recently.
Also, Clang compiles the example from comment 3.