This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ipa/64551] Segfault in target_opts_for_fn (from ipa_icf::sem_function::equals_private)
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 12 Jan 2015 09:03:05 +0000
- Subject: [Bug ipa/64551] Segfault in target_opts_for_fn (from ipa_icf::sem_function::equals_private)
- Auto-submitted: auto-generated
- References: <bug-64551-4 at http dot gcc dot gnu dot org/bugzilla/>
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