http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55361
--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-11-16 23:06:09 UTC --- Likewise EDG as used by Intel. clang errors out. From the user point of view, to make debugging easier, the earlier errors are produced the better, but this is just a general principle, thus I don't think this is a compiler bug, at most a QoI issue. A well known one, by the way: in many, many, other cases we aren't very aggressive at that.