[Bug c++/70594] [6 Regression] -fcompare-debug failure

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Apr 15 14:51:00 GMT 2016


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

--- Comment #51 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Apr 15 14:51:06 2016
New Revision: 235033

URL: https://gcc.gnu.org/viewcvs?rev=235033&root=gcc&view=rev
Log:
        PR c++/70594
        * constexpr.c (constexpr_call_table): Preserve in GC.
        (struct fundef_copy, struct fundef_copies_table_t):     Delete.
        (fundef_copies_table): Preserve in GC. Change to pointer to
        tree->tree hash.
        (maybe_initialize_fundef_copies_table): Adjust.
        (get_fundef_copy): Return a TREE_LIST.  Use non-inserting search.
        (save_fundef_copy): Adjust for a TREE_LIST.
        (cxx_eval_call_expression): Adjust for a fundef_copy TREE_LIST.
        (fini_constexpr): New.
        * cp-tree.h (fini_constexpr): Declare.
        * decl2.c (c_parse_final_cleanups): Call fini_constexpr.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cp/constexpr.c
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/decl2.c


More information about the Gcc-bugs mailing list