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

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue May 30 07:24:56 2017
New Revision: 248608

URL: https://gcc.gnu.org/viewcvs?rev=248608&root=gcc&view=rev
Log:
        Backported from mainline
        2016-09-16  Jakub Jelinek  <ja...@redhat.com>

        PR c++/77375
        * class.c (check_bases): Set CLASSTYPE_HAS_MUTABLE if any
        TYPE_HAS_MUTABLE_P for any bases.

        * g++.dg/cpp0x/mutable1.C: New test.

Added:
    branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp0x/mutable1.C
Modified:
    branches/gcc-5-branch/gcc/cp/ChangeLog
    branches/gcc-5-branch/gcc/cp/class.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog

Reply via email to