https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96537

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Tom de Vries from comment #4)
> Thanks for the comment.  Still, if this is a language version issue, I used
> -std=c++11 with 7.5.0, shouldn't I then get the same behaviour as with gcc
> 4.8.5?

No, because N4387 was resolving a number of DRs so we apply it retroactively to
older standard modes. But for compilers released before the defects were
resolved, obviously we only implement the old rules.

The point is that GCC 4.8 is a compiler from 2013 and correctly implements the
spec from that time.

Reply via email to