[Bug c++/83796] [6/7/8 Regression] Abstract classes allowed to be instantiated when initialised as default parameter to function or constructor

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 12 12:16:00 GMT 2018


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

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Actually I think it's r194284

commit 6fb305c7c88b07c429e8a39fbd514a417c5b6127
Author: jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Fri Dec 7 04:54:27 2012 +0000

            PR c++/54325
            * tree.c (build_aggr_init_expr): Don't check for abstract class.

    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194284
138bc75d-0d04-0410-961f-82ee72b054a4


More information about the Gcc-bugs mailing list