re PR ipa/68790 (gcc.c-torture/execute/20050713-1.c FAILs with -O0 -fipa-icf)
authorMartin Liska <mliska@suse.cz>
Wed, 9 Dec 2015 09:34:59 +0000 (10:34 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 9 Dec 2015 09:34:59 +0000 (09:34 +0000)
commitb018757801c76a71731acfb0745a04b96b010938
treea6a3ddbaa9f48256d462572970220213fb5e4a6e
parent7b7597c6a46f4828196f4e27da00f72b6f584ba9
re PR ipa/68790 (gcc.c-torture/execute/20050713-1.c FAILs with -O0 -fipa-icf)

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.

From-SVN: r231446
gcc/ChangeLog
gcc/ipa-icf.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ipa/pr68790.c [new file with mode: 0644]