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 ipa/64551] Segfault in target_opts_for_fn (from ipa_icf::sem_function::equals_private)


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

--- Comment #5 from Martin LiÅka <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Mon Jan 12 09:02:33 2015
New Revision: 219449

URL: https://gcc.gnu.org/viewcvs?rev=219449&root=gcc&view=rev
Log:
PR ipa/64550

        PR ipa/64551
    PR ipa/64552
    * ipa-icf.c (sem_function::equals_private): Use '&&' instead of
    '||' to fix typo issue.

    * gcc/tree.h (target_opts_for_fn): Check NULL_TREE since it can
    accept and return NULL.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-icf.c
    trunk/gcc/tree.h

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