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 c++/70018] [4.9/5/6/7 Regression] Possible issue around IPO and C++ comdats discovered as pure/const


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

--- Comment #13 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Author: hubicka
Date: Sat Apr 16 16:30:48 2016
New Revision: 235063

URL: https://gcc.gnu.org/viewcvs?rev=235063&root=gcc&view=rev
Log:

        PR ipa/70018
        * cgraph.c (cgraph_node::get_availability): Add REF parameter.
        (cgraph_node::function_symbol): Likewise.
        (cgraph_node::function_or_virtual_thunk_symbol): Likewise.
        * cgraph.h (symtab_node::get_availabbility): Add REF parameter.
        (symtab_node::ultimate_alias_target): Add REF parameter.
        (symtab_node::binds_to_current_def_p): Declare.
        (symtab_node;:ultimate_alias_target_1): Add REF parameter.
        (cgraph_node::function_symbol): Likewise.
        (cgraph_node::function_or_virtual_thunk_symbol): Likewise.
        (cgraph_node::get_availability): Likewise.
        (cgraph_edge::binds_to_current_def_p): New inline function.
        (varpool_node::get_availability): Add REF parameter.
        (varpool_node::ultimate_alias_target): Likewise.
        * symtab.c (symtab_node::ultimate_alias_target_1): Likewise.
        (symtab_node::binds_to_current_def_p): Likewise.
        * varpool.c (varpool_node::get_availability): Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cgraph.c
    trunk/gcc/cgraph.h
    trunk/gcc/symtab.c
    trunk/gcc/varpool.c

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