This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/70422] [6 regression] Bootstrap comparison failure


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

--- Comment #11 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Thu Nov  1 09:19:31 2018
New Revision: 265711

URL: https://gcc.gnu.org/viewcvs?rev=265711&root=gcc&view=rev
Log:
Make __PRETTY_FUNCTION__-like functions mergeable string csts (PR c++/64266).

2018-11-01  Martin Liska  <mliska@suse.cz>
            Jason Merrill  <jason@redhat.com>

        PR c++/64266
        PR bootstrap/70422
        PR ipa/81277
        * cp-tree.h (DECL_FNAME_P): New macro.
        * decl.c (cp_make_fname_decl): Set DECL_DECLARED_CONSTEXPR_P,
        DECL_VALUE_EXPR, DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P.
        (cp_finish_decl):
        * lambda.c (is_capture_proxy): Use DECL_FNAME_P.
        * pt.c (tsubst_expr): Handle DECL_PRETTY_FUNCTION_P.
2018-11-01  Martin Liska  <mliska@suse.cz>
            Jason Merrill  <jason@redhat.com>

        PR c++/64266
        PR bootstrap/70422
        PR ipa/81277
        * g++.dg/cpp0x/constexpr-__func__2.C: Make it a compilation
        test.
        * g++.old-deja/g++.ext/pretty4.C: Remove as the run-time
        assumptions are not longer valid.

Removed:
    trunk/gcc/testsuite/g++.old-deja/g++.ext/pretty4.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/lambda.c
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-__func__2.C

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]