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

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Fri Apr  7 18:09:55 2017
New Revision: 246772

URL: https://gcc.gnu.org/viewcvs?rev=246772&root=gcc&view=rev
Log:
        PR c++/80095
        * call.c (build_over_call): Don't check cxx_dialect.
        * cp-gimplify.c (cp_gimplify_init_expr): Don't check cxx_dialect nor
        whether SUB is a CONSTRUCTOR.
        * init.c (build_new_1): Don't check cxx_dialect.
        * tree.c (replace_placeholders): Add a function comment.  Return if
        not in C++14, or if the object isn't a (member of a) class.
        * typeck2.c (store_init_value): Don't check cxx_dialect nor whether
        TYPE is CLASS_TYPE_P.

        * g++.dg/cpp1y/nsdmi-aggr8.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/nsdmi-aggr8.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/cp/cp-gimplify.c
    trunk/gcc/cp/init.c
    trunk/gcc/cp/tree.c
    trunk/gcc/cp/typeck2.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to