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

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2016-07-06
                 CC|                            |msebor at gcc dot gnu.org
            Summary|Bogus "is protected" error  |[5/6/7 regression] Bogus
                   |when list-initializing a    |"is protected" error when
                   |base class with a defaulted |list-initializing a base
                   |protected constructor and a |class with a defaulted
                   |virtual function            |protected constructor and a
                   |                            |virtual function
     Ever confirmed|0                           |1
      Known to fail|                            |4.7.0, 5.3.0, 6.1.0, 7.0

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed with r175640 as the apparent cause of the regression:

r175640 | jason | 2011-06-29 10:09:03 -0400 (Wed, 29 Jun 2011) | 3 lines

        * init.c (build_value_init): Decide whether or not to zero-initialize
        based on user-providedness of default ctor, not any ctor.
        (build_value_init_noctor): Adjust assert.

Reply via email to