This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ipa/68790] [5/6 Regression] gcc.c-torture/execute/20050713-1.c FAILs with -O0 -fipa-icf
- 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: Wed, 09 Dec 2015 11:56:10 +0000
- Subject: [Bug ipa/68790] [5/6 Regression] gcc.c-torture/execute/20050713-1.c FAILs with -O0 -fipa-icf
- Auto-submitted: auto-generated
- References: <bug-68790-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68790
--- Comment #4 from Martin LiÅka <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Wed Dec 9 11:55:38 2015
New Revision: 231451
URL: https://gcc.gnu.org/viewcvs?rev=231451&root=gcc&view=rev
Log:
Fix PR ipa/68790
PR ipa/68790
* ipa-icf.c (sem_function::param_used_p): Return true
if ipa_node_params_sum equals to NULL.
* gcc.dg/ipa/pr68790.c: New test.
Added:
branches/gcc-5-branch/gcc/testsuite/gcc.dg/ipa/pr68790.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/ipa-icf.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog